AWS SDK for C++  1.9.123
AWS SDK for C++
ListEffectiveDeploymentsRequest.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 GreengrassV2
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 "ListEffectiveDeployments"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetCoreDeviceThingName() const{ return m_coreDeviceThingName; }
45 
49  inline bool CoreDeviceThingNameHasBeenSet() const { return m_coreDeviceThingNameHasBeenSet; }
50 
54  inline void SetCoreDeviceThingName(const Aws::String& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = value; }
55 
59  inline void SetCoreDeviceThingName(Aws::String&& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = std::move(value); }
60 
64  inline void SetCoreDeviceThingName(const char* value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName.assign(value); }
65 
69  inline ListEffectiveDeploymentsRequest& WithCoreDeviceThingName(const Aws::String& value) { SetCoreDeviceThingName(value); return *this;}
70 
74  inline ListEffectiveDeploymentsRequest& WithCoreDeviceThingName(Aws::String&& value) { SetCoreDeviceThingName(std::move(value)); return *this;}
75 
79  inline ListEffectiveDeploymentsRequest& WithCoreDeviceThingName(const char* value) { SetCoreDeviceThingName(value); return *this;}
80 
81 
85  inline int GetMaxResults() const{ return m_maxResults; }
86 
90  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 
95  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 
100  inline ListEffectiveDeploymentsRequest& WithMaxResults(int value) { SetMaxResults(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 ListEffectiveDeploymentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
132 
136  inline ListEffectiveDeploymentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
137 
141  inline ListEffectiveDeploymentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::String m_coreDeviceThingName;
146  bool m_coreDeviceThingNameHasBeenSet;
147 
148  int m_maxResults;
149  bool m_maxResultsHasBeenSet;
150 
151  Aws::String m_nextToken;
152  bool m_nextTokenHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace GreengrassV2
157 } // namespace Aws
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::CoreDeviceThingNameHasBeenSet
bool CoreDeviceThingNameHasBeenSet() const
Definition: ListEffectiveDeploymentsRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEffectiveDeploymentsRequest.h:116
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::WithCoreDeviceThingName
ListEffectiveDeploymentsRequest & WithCoreDeviceThingName(const Aws::String &value)
Definition: ListEffectiveDeploymentsRequest.h:69
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::WithMaxResults
ListEffectiveDeploymentsRequest & WithMaxResults(int value)
Definition: ListEffectiveDeploymentsRequest.h:100
GreengrassV2Request.h
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::WithNextToken
ListEffectiveDeploymentsRequest & WithNextToken(Aws::String &&value)
Definition: ListEffectiveDeploymentsRequest.h:136
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::WithCoreDeviceThingName
ListEffectiveDeploymentsRequest & WithCoreDeviceThingName(Aws::String &&value)
Definition: ListEffectiveDeploymentsRequest.h:74
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListEffectiveDeploymentsRequest.h:34
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::WithNextToken
ListEffectiveDeploymentsRequest & WithNextToken(const char *value)
Definition: ListEffectiveDeploymentsRequest.h:141
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::GetCoreDeviceThingName
const Aws::String & GetCoreDeviceThingName() const
Definition: ListEffectiveDeploymentsRequest.h:44
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListEffectiveDeploymentsRequest.h:111
Aws::GreengrassV2::GreengrassV2Request
Definition: GreengrassV2Request.h:17
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListEffectiveDeploymentsRequest.h:90
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEffectiveDeploymentsRequest.h:106
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(Aws::String &&value)
Definition: ListEffectiveDeploymentsRequest.h:59
AWSString.h
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListEffectiveDeploymentsRequest.h:85
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest
Definition: ListEffectiveDeploymentsRequest.h:26
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEffectiveDeploymentsRequest.h:121
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::WithNextToken
ListEffectiveDeploymentsRequest & WithNextToken(const Aws::String &value)
Definition: ListEffectiveDeploymentsRequest.h:131
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(const Aws::String &value)
Definition: ListEffectiveDeploymentsRequest.h:54
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListEffectiveDeploymentsRequest.h:95
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::WithCoreDeviceThingName
ListEffectiveDeploymentsRequest & WithCoreDeviceThingName(const char *value)
Definition: ListEffectiveDeploymentsRequest.h:79
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::ListEffectiveDeploymentsRequest
ListEffectiveDeploymentsRequest()
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::SetCoreDeviceThingName
void SetCoreDeviceThingName(const char *value)
Definition: ListEffectiveDeploymentsRequest.h:64
Aws::GreengrassV2::Model::ListEffectiveDeploymentsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListEffectiveDeploymentsRequest.h:126