AWS SDK for C++  1.9.129
AWS SDK for C++
ListApplicationDependenciesRequest.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 ServerlessApplicationRepository
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 "ListApplicationDependencies"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
45 
49  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
50 
54  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
55 
59  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
60 
64  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
65 
69  inline ListApplicationDependenciesRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
70 
74  inline ListApplicationDependenciesRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
75 
79  inline ListApplicationDependenciesRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
80 
81 
85  inline int GetMaxItems() const{ return m_maxItems; }
86 
90  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
91 
95  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
96 
100  inline ListApplicationDependenciesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
101 
102 
106  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
107 
111  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 
116  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
117 
121  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
122 
126  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
127 
131  inline ListApplicationDependenciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
132 
136  inline ListApplicationDependenciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
137 
141  inline ListApplicationDependenciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143 
147  inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; }
148 
152  inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
153 
157  inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = value; }
158 
162  inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::move(value); }
163 
167  inline void SetSemanticVersion(const char* value) { m_semanticVersionHasBeenSet = true; m_semanticVersion.assign(value); }
168 
172  inline ListApplicationDependenciesRequest& WithSemanticVersion(const Aws::String& value) { SetSemanticVersion(value); return *this;}
173 
177  inline ListApplicationDependenciesRequest& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;}
178 
182  inline ListApplicationDependenciesRequest& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;}
183 
184  private:
185 
186  Aws::String m_applicationId;
187  bool m_applicationIdHasBeenSet;
188 
189  int m_maxItems;
190  bool m_maxItemsHasBeenSet;
191 
192  Aws::String m_nextToken;
193  bool m_nextTokenHasBeenSet;
194 
195  Aws::String m_semanticVersion;
196  bool m_semanticVersionHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace ServerlessApplicationRepository
201 } // namespace Aws
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: ListApplicationDependenciesRequest.h:54
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListApplicationDependenciesRequest.h:95
Aws::Http::URI
Definition: URI.h:32
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetSemanticVersion
void SetSemanticVersion(const char *value)
Definition: ListApplicationDependenciesRequest.h:167
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithNextToken
ListApplicationDependenciesRequest & WithNextToken(Aws::String &&value)
Definition: ListApplicationDependenciesRequest.h:136
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListApplicationDependenciesRequest.h:116
ServerlessApplicationRepository_EXPORTS.h
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithSemanticVersion
ListApplicationDependenciesRequest & WithSemanticVersion(const char *value)
Definition: ListApplicationDependenciesRequest.h:182
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetSemanticVersion
void SetSemanticVersion(Aws::String &&value)
Definition: ListApplicationDependenciesRequest.h:162
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: ListApplicationDependenciesRequest.h:49
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SemanticVersionHasBeenSet
bool SemanticVersionHasBeenSet() const
Definition: ListApplicationDependenciesRequest.h:152
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListApplicationDependenciesRequest.h:121
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithApplicationId
ListApplicationDependenciesRequest & WithApplicationId(const Aws::String &value)
Definition: ListApplicationDependenciesRequest.h:69
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: ListApplicationDependenciesRequest.h:44
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithMaxItems
ListApplicationDependenciesRequest & WithMaxItems(int value)
Definition: ListApplicationDependenciesRequest.h:100
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithNextToken
ListApplicationDependenciesRequest & WithNextToken(const char *value)
Definition: ListApplicationDependenciesRequest.h:141
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::GetMaxItems
int GetMaxItems() const
Definition: ListApplicationDependenciesRequest.h:85
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithNextToken
ListApplicationDependenciesRequest & WithNextToken(const Aws::String &value)
Definition: ListApplicationDependenciesRequest.h:131
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithApplicationId
ListApplicationDependenciesRequest & WithApplicationId(Aws::String &&value)
Definition: ListApplicationDependenciesRequest.h:74
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListApplicationDependenciesRequest.h:106
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: ListApplicationDependenciesRequest.h:59
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListApplicationDependenciesRequest.h:126
AWSString.h
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListApplicationDependenciesRequest.h:34
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest
Definition: ListApplicationDependenciesRequest.h:26
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListApplicationDependenciesRequest.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::ListApplicationDependenciesRequest
ListApplicationDependenciesRequest()
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithSemanticVersion
ListApplicationDependenciesRequest & WithSemanticVersion(const Aws::String &value)
Definition: ListApplicationDependenciesRequest.h:172
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::GetSemanticVersion
const Aws::String & GetSemanticVersion() const
Definition: ListApplicationDependenciesRequest.h:147
Aws::ServerlessApplicationRepository::ServerlessApplicationRepositoryRequest
Definition: ServerlessApplicationRepositoryRequest.h:17
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithSemanticVersion
ListApplicationDependenciesRequest & WithSemanticVersion(Aws::String &&value)
Definition: ListApplicationDependenciesRequest.h:177
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: ListApplicationDependenciesRequest.h:64
ServerlessApplicationRepositoryRequest.h
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListApplicationDependenciesRequest.h:111
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::WithApplicationId
ListApplicationDependenciesRequest & WithApplicationId(const char *value)
Definition: ListApplicationDependenciesRequest.h:79
Aws::ServerlessApplicationRepository::Model::ListApplicationDependenciesRequest::SetSemanticVersion
void SetSemanticVersion(const Aws::String &value)
Definition: ListApplicationDependenciesRequest.h:157
AWS_SERVERLESSAPPLICATIONREPOSITORY_API
#define AWS_SERVERLESSAPPLICATIONREPOSITORY_API
Definition: ServerlessApplicationRepository_EXPORTS.h:28