AWS SDK for C++  1.9.104
AWS SDK for C++
ListAssociatedResourcesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace AppRegistry
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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.
34  inline virtual const char* GetServiceRequestName() const override { return "ListAssociatedResources"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetApplication() const{ return m_application; }
45 
49  inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
50 
54  inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
55 
59  inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
60 
64  inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
65 
69  inline ListAssociatedResourcesRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
70 
74  inline ListAssociatedResourcesRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
75 
79  inline ListAssociatedResourcesRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
80 
81 
86  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 
92  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 
98  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
99 
104  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
105 
110  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
111 
116  inline ListAssociatedResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 
122  inline ListAssociatedResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
123 
128  inline ListAssociatedResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
129 
130 
135  inline int GetMaxResults() const{ return m_maxResults; }
136 
141  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
142 
147  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
148 
153  inline ListAssociatedResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
154 
155  private:
156 
157  Aws::String m_application;
158  bool m_applicationHasBeenSet;
159 
160  Aws::String m_nextToken;
161  bool m_nextTokenHasBeenSet;
162 
163  int m_maxResults;
164  bool m_maxResultsHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace AppRegistry
169 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::AppRegistry::AppRegistryRequest
Definition: AppRegistryRequest.h:17
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAssociatedResourcesRequest.h:147
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::ListAssociatedResourcesRequest
ListAssociatedResourcesRequest()
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAssociatedResourcesRequest.h:135
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::WithApplication
ListAssociatedResourcesRequest & WithApplication(const char *value)
Definition: ListAssociatedResourcesRequest.h:79
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::WithNextToken
ListAssociatedResourcesRequest & WithNextToken(const char *value)
Definition: ListAssociatedResourcesRequest.h:128
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAssociatedResourcesRequest.h:34
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAssociatedResourcesRequest.h:98
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::SetApplication
void SetApplication(const Aws::String &value)
Definition: ListAssociatedResourcesRequest.h:54
AWSString.h
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAssociatedResourcesRequest.h:92
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAssociatedResourcesRequest.h:110
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAssociatedResourcesRequest.h:86
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::SetApplication
void SetApplication(const char *value)
Definition: ListAssociatedResourcesRequest.h:64
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::WithNextToken
ListAssociatedResourcesRequest & WithNextToken(Aws::String &&value)
Definition: ListAssociatedResourcesRequest.h:122
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::WithNextToken
ListAssociatedResourcesRequest & WithNextToken(const Aws::String &value)
Definition: ListAssociatedResourcesRequest.h:116
AppRegistryRequest.h
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::SetApplication
void SetApplication(Aws::String &&value)
Definition: ListAssociatedResourcesRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAssociatedResourcesRequest.h:104
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::WithMaxResults
ListAssociatedResourcesRequest & WithMaxResults(int value)
Definition: ListAssociatedResourcesRequest.h:153
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: ListAssociatedResourcesRequest.h:49
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::GetApplication
const Aws::String & GetApplication() const
Definition: ListAssociatedResourcesRequest.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::WithApplication
ListAssociatedResourcesRequest & WithApplication(Aws::String &&value)
Definition: ListAssociatedResourcesRequest.h:74
Aws::AppRegistry::Model::ListAssociatedResourcesRequest
Definition: ListAssociatedResourcesRequest.h:26
AppRegistry_EXPORTS.h
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAssociatedResourcesRequest.h:141
Aws::AppRegistry::Model::ListAssociatedResourcesRequest::WithApplication
ListAssociatedResourcesRequest & WithApplication(const Aws::String &value)
Definition: ListAssociatedResourcesRequest.h:69