1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/chime/Chime_EXPORTS.h>
8 #include <aws/chime/ChimeRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16     class URI;
17 } //namespace Http
18 namespace Chime
19 {
20 namespace Model
21 {
22 
23   /**
24    */
25   class AWS_CHIME_API ListAppInstanceAdminsRequest : public ChimeRequest
26   {
27   public:
28     ListAppInstanceAdminsRequest();
29 
30     // Service request name is the Operation name which will send this request out,
31     // each operation should has unique request name, so that we can get operation's name from this request.
32     // Note: this is not true for response, multiple operations may have the same response name,
33     // so we can not get operation's name from response.
GetServiceRequestName()34     inline virtual const char* GetServiceRequestName() const override { return "ListAppInstanceAdmins"; }
35 
36     Aws::String SerializePayload() const override;
37 
38     void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
41     /**
42      * <p>The ARN of the <code>AppInstance</code>.</p>
43      */
GetAppInstanceArn()44     inline const Aws::String& GetAppInstanceArn() const{ return m_appInstanceArn; }
45 
46     /**
47      * <p>The ARN of the <code>AppInstance</code>.</p>
48      */
AppInstanceArnHasBeenSet()49     inline bool AppInstanceArnHasBeenSet() const { return m_appInstanceArnHasBeenSet; }
50 
51     /**
52      * <p>The ARN of the <code>AppInstance</code>.</p>
53      */
SetAppInstanceArn(const Aws::String & value)54     inline void SetAppInstanceArn(const Aws::String& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = value; }
55 
56     /**
57      * <p>The ARN of the <code>AppInstance</code>.</p>
58      */
SetAppInstanceArn(Aws::String && value)59     inline void SetAppInstanceArn(Aws::String&& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = std::move(value); }
60 
61     /**
62      * <p>The ARN of the <code>AppInstance</code>.</p>
63      */
SetAppInstanceArn(const char * value)64     inline void SetAppInstanceArn(const char* value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn.assign(value); }
65 
66     /**
67      * <p>The ARN of the <code>AppInstance</code>.</p>
68      */
WithAppInstanceArn(const Aws::String & value)69     inline ListAppInstanceAdminsRequest& WithAppInstanceArn(const Aws::String& value) { SetAppInstanceArn(value); return *this;}
70 
71     /**
72      * <p>The ARN of the <code>AppInstance</code>.</p>
73      */
WithAppInstanceArn(Aws::String && value)74     inline ListAppInstanceAdminsRequest& WithAppInstanceArn(Aws::String&& value) { SetAppInstanceArn(std::move(value)); return *this;}
75 
76     /**
77      * <p>The ARN of the <code>AppInstance</code>.</p>
78      */
WithAppInstanceArn(const char * value)79     inline ListAppInstanceAdminsRequest& WithAppInstanceArn(const char* value) { SetAppInstanceArn(value); return *this;}
80 
81 
82     /**
83      * <p>The maximum number of administrators that you want to return.</p>
84      */
GetMaxResults()85     inline int GetMaxResults() const{ return m_maxResults; }
86 
87     /**
88      * <p>The maximum number of administrators that you want to return.</p>
89      */
MaxResultsHasBeenSet()90     inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 
92     /**
93      * <p>The maximum number of administrators that you want to return.</p>
94      */
SetMaxResults(int value)95     inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 
97     /**
98      * <p>The maximum number of administrators that you want to return.</p>
99      */
WithMaxResults(int value)100     inline ListAppInstanceAdminsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101 
102 
103     /**
104      * <p>The token returned from previous API requests until the number of
105      * administrators is reached.</p>
106      */
GetNextToken()107     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
108 
109     /**
110      * <p>The token returned from previous API requests until the number of
111      * administrators is reached.</p>
112      */
NextTokenHasBeenSet()113     inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114 
115     /**
116      * <p>The token returned from previous API requests until the number of
117      * administrators is reached.</p>
118      */
SetNextToken(const Aws::String & value)119     inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
120 
121     /**
122      * <p>The token returned from previous API requests until the number of
123      * administrators is reached.</p>
124      */
SetNextToken(Aws::String && value)125     inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
126 
127     /**
128      * <p>The token returned from previous API requests until the number of
129      * administrators is reached.</p>
130      */
SetNextToken(const char * value)131     inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
132 
133     /**
134      * <p>The token returned from previous API requests until the number of
135      * administrators is reached.</p>
136      */
WithNextToken(const Aws::String & value)137     inline ListAppInstanceAdminsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
138 
139     /**
140      * <p>The token returned from previous API requests until the number of
141      * administrators is reached.</p>
142      */
WithNextToken(Aws::String && value)143     inline ListAppInstanceAdminsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
144 
145     /**
146      * <p>The token returned from previous API requests until the number of
147      * administrators is reached.</p>
148      */
WithNextToken(const char * value)149     inline ListAppInstanceAdminsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
150 
151   private:
152 
153     Aws::String m_appInstanceArn;
154     bool m_appInstanceArnHasBeenSet;
155 
156     int m_maxResults;
157     bool m_maxResultsHasBeenSet;
158 
159     Aws::String m_nextToken;
160     bool m_nextTokenHasBeenSet;
161   };
162 
163 } // namespace Model
164 } // namespace Chime
165 } // namespace Aws
166