AWS SDK for C++  1.9.104
AWS SDK for C++
GetCloudFormationStackRecordsResult.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 Lightsail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<CloudFormationStackRecord>& GetCloudFormationStackRecords() const{ return m_cloudFormationStackRecords; }
41 
45  inline void SetCloudFormationStackRecords(const Aws::Vector<CloudFormationStackRecord>& value) { m_cloudFormationStackRecords = value; }
46 
50  inline void SetCloudFormationStackRecords(Aws::Vector<CloudFormationStackRecord>&& value) { m_cloudFormationStackRecords = std::move(value); }
51 
55  inline GetCloudFormationStackRecordsResult& WithCloudFormationStackRecords(const Aws::Vector<CloudFormationStackRecord>& value) { SetCloudFormationStackRecords(value); return *this;}
56 
60  inline GetCloudFormationStackRecordsResult& WithCloudFormationStackRecords(Aws::Vector<CloudFormationStackRecord>&& value) { SetCloudFormationStackRecords(std::move(value)); return *this;}
61 
65  inline GetCloudFormationStackRecordsResult& AddCloudFormationStackRecords(const CloudFormationStackRecord& value) { m_cloudFormationStackRecords.push_back(value); return *this; }
66 
70  inline GetCloudFormationStackRecordsResult& AddCloudFormationStackRecords(CloudFormationStackRecord&& value) { m_cloudFormationStackRecords.push_back(std::move(value)); return *this; }
71 
72 
80  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
81 
89  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
90 
98  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
99 
107  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
108 
116  inline GetCloudFormationStackRecordsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
117 
125  inline GetCloudFormationStackRecordsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
126 
134  inline GetCloudFormationStackRecordsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<CloudFormationStackRecord> m_cloudFormationStackRecords;
139 
140  Aws::String m_nextPageToken;
141  };
142 
143 } // namespace Model
144 } // namespace Lightsail
145 } // namespace Aws
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: GetCloudFormationStackRecordsResult.h:107
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult
Definition: GetCloudFormationStackRecordsResult.h:30
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::AddCloudFormationStackRecords
GetCloudFormationStackRecordsResult & AddCloudFormationStackRecords(const CloudFormationStackRecord &value)
Definition: GetCloudFormationStackRecordsResult.h:65
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::SetCloudFormationStackRecords
void SetCloudFormationStackRecords(Aws::Vector< CloudFormationStackRecord > &&value)
Definition: GetCloudFormationStackRecordsResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::WithCloudFormationStackRecords
GetCloudFormationStackRecordsResult & WithCloudFormationStackRecords(Aws::Vector< CloudFormationStackRecord > &&value)
Definition: GetCloudFormationStackRecordsResult.h:60
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::operator=
GetCloudFormationStackRecordsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::WithNextPageToken
GetCloudFormationStackRecordsResult & WithNextPageToken(Aws::String &&value)
Definition: GetCloudFormationStackRecordsResult.h:125
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::WithCloudFormationStackRecords
GetCloudFormationStackRecordsResult & WithCloudFormationStackRecords(const Aws::Vector< CloudFormationStackRecord > &value)
Definition: GetCloudFormationStackRecordsResult.h:55
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::SetCloudFormationStackRecords
void SetCloudFormationStackRecords(const Aws::Vector< CloudFormationStackRecord > &value)
Definition: GetCloudFormationStackRecordsResult.h:45
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::AddCloudFormationStackRecords
GetCloudFormationStackRecordsResult & AddCloudFormationStackRecords(CloudFormationStackRecord &&value)
Definition: GetCloudFormationStackRecordsResult.h:70
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: GetCloudFormationStackRecordsResult.h:80
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::WithNextPageToken
GetCloudFormationStackRecordsResult & WithNextPageToken(const Aws::String &value)
Definition: GetCloudFormationStackRecordsResult.h:116
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: GetCloudFormationStackRecordsResult.h:89
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::GetCloudFormationStackRecordsResult
GetCloudFormationStackRecordsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::GetCloudFormationStackRecords
const Aws::Vector< CloudFormationStackRecord > & GetCloudFormationStackRecords() const
Definition: GetCloudFormationStackRecordsResult.h:40
AWSString.h
Lightsail_EXPORTS.h
CloudFormationStackRecord.h
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::WithNextPageToken
GetCloudFormationStackRecordsResult & WithNextPageToken(const char *value)
Definition: GetCloudFormationStackRecordsResult.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: GetCloudFormationStackRecordsResult.h:98
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::CloudFormationStackRecord
Definition: CloudFormationStackRecord.h:43
Aws::Lightsail::Model::GetCloudFormationStackRecordsResult::GetCloudFormationStackRecordsResult
GetCloudFormationStackRecordsResult()