AWS SDK for C++  1.9.123
AWS SDK for C++
ListEffectiveDeploymentsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GreengrassV2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<EffectiveDeployment>& GetEffectiveDeployments() const{ return m_effectiveDeployments; }
41 
45  inline void SetEffectiveDeployments(const Aws::Vector<EffectiveDeployment>& value) { m_effectiveDeployments = value; }
46 
50  inline void SetEffectiveDeployments(Aws::Vector<EffectiveDeployment>&& value) { m_effectiveDeployments = std::move(value); }
51 
55  inline ListEffectiveDeploymentsResult& WithEffectiveDeployments(const Aws::Vector<EffectiveDeployment>& value) { SetEffectiveDeployments(value); return *this;}
56 
60  inline ListEffectiveDeploymentsResult& WithEffectiveDeployments(Aws::Vector<EffectiveDeployment>&& value) { SetEffectiveDeployments(std::move(value)); return *this;}
61 
65  inline ListEffectiveDeploymentsResult& AddEffectiveDeployments(const EffectiveDeployment& value) { m_effectiveDeployments.push_back(value); return *this; }
66 
70  inline ListEffectiveDeploymentsResult& AddEffectiveDeployments(EffectiveDeployment&& value) { m_effectiveDeployments.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListEffectiveDeploymentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListEffectiveDeploymentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListEffectiveDeploymentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<EffectiveDeployment> m_effectiveDeployments;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace GreengrassV2
124 } // namespace Aws
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::ListEffectiveDeploymentsResult
ListEffectiveDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEffectiveDeploymentsResult.h:83
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::AddEffectiveDeployments
ListEffectiveDeploymentsResult & AddEffectiveDeployments(const EffectiveDeployment &value)
Definition: ListEffectiveDeploymentsResult.h:65
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::WithEffectiveDeployments
ListEffectiveDeploymentsResult & WithEffectiveDeployments(Aws::Vector< EffectiveDeployment > &&value)
Definition: ListEffectiveDeploymentsResult.h:60
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::SetEffectiveDeployments
void SetEffectiveDeployments(const Aws::Vector< EffectiveDeployment > &value)
Definition: ListEffectiveDeploymentsResult.h:45
GreengrassV2_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::ListEffectiveDeploymentsResult
ListEffectiveDeploymentsResult()
AWSVector.h
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::WithNextToken
ListEffectiveDeploymentsResult & WithNextToken(Aws::String &&value)
Definition: ListEffectiveDeploymentsResult.h:107
Aws::GreengrassV2::Model::EffectiveDeployment
Definition: EffectiveDeployment.h:35
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::operator=
ListEffectiveDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::SetEffectiveDeployments
void SetEffectiveDeployments(Aws::Vector< EffectiveDeployment > &&value)
Definition: ListEffectiveDeploymentsResult.h:50
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::GetEffectiveDeployments
const Aws::Vector< EffectiveDeployment > & GetEffectiveDeployments() const
Definition: ListEffectiveDeploymentsResult.h:40
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::WithNextToken
ListEffectiveDeploymentsResult & WithNextToken(const Aws::String &value)
Definition: ListEffectiveDeploymentsResult.h:101
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListEffectiveDeploymentsResult.h:95
AWSString.h
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::WithNextToken
ListEffectiveDeploymentsResult & WithNextToken(const char *value)
Definition: ListEffectiveDeploymentsResult.h:113
EffectiveDeployment.h
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::AddEffectiveDeployments
ListEffectiveDeploymentsResult & AddEffectiveDeployments(EffectiveDeployment &&value)
Definition: ListEffectiveDeploymentsResult.h:70
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEffectiveDeploymentsResult.h:89
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEffectiveDeploymentsResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult::WithEffectiveDeployments
ListEffectiveDeploymentsResult & WithEffectiveDeployments(const Aws::Vector< EffectiveDeployment > &value)
Definition: ListEffectiveDeploymentsResult.h:55
Aws::GreengrassV2::Model::ListEffectiveDeploymentsResult
Definition: ListEffectiveDeploymentsResult.h:30