AWS SDK for C++  1.9.125
AWS SDK for C++
DescribeExportTasksResult.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 ApplicationDiscoveryService
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::Vector<ExportInfo>& GetExportsInfo() const{ return m_exportsInfo; }
43 
49  inline void SetExportsInfo(const Aws::Vector<ExportInfo>& value) { m_exportsInfo = value; }
50 
56  inline void SetExportsInfo(Aws::Vector<ExportInfo>&& value) { m_exportsInfo = std::move(value); }
57 
63  inline DescribeExportTasksResult& WithExportsInfo(const Aws::Vector<ExportInfo>& value) { SetExportsInfo(value); return *this;}
64 
70  inline DescribeExportTasksResult& WithExportsInfo(Aws::Vector<ExportInfo>&& value) { SetExportsInfo(std::move(value)); return *this;}
71 
77  inline DescribeExportTasksResult& AddExportsInfo(const ExportInfo& value) { m_exportsInfo.push_back(value); return *this; }
78 
84  inline DescribeExportTasksResult& AddExportsInfo(ExportInfo&& value) { m_exportsInfo.push_back(std::move(value)); return *this; }
85 
86 
94  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 
103  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
104 
112  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
113 
121  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
122 
130  inline DescribeExportTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
131 
139  inline DescribeExportTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
140 
148  inline DescribeExportTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
149 
150  private:
151 
152  Aws::Vector<ExportInfo> m_exportsInfo;
153 
154  Aws::String m_nextToken;
155  };
156 
157 } // namespace Model
158 } // namespace ApplicationDiscoveryService
159 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::GetExportsInfo
const Aws::Vector< ExportInfo > & GetExportsInfo() const
Definition: DescribeExportTasksResult.h:42
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::DescribeExportTasksResult
DescribeExportTasksResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeExportTasksResult.h:94
ExportInfo.h
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeExportTasksResult.h:112
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeExportTasksResult.h:103
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::operator=
DescribeExportTasksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::WithNextToken
DescribeExportTasksResult & WithNextToken(Aws::String &&value)
Definition: DescribeExportTasksResult.h:139
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeExportTasksResult.h:121
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::SetExportsInfo
void SetExportsInfo(Aws::Vector< ExportInfo > &&value)
Definition: DescribeExportTasksResult.h:56
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult
Definition: DescribeExportTasksResult.h:30
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::WithNextToken
DescribeExportTasksResult & WithNextToken(const char *value)
Definition: DescribeExportTasksResult.h:148
AWSString.h
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::SetExportsInfo
void SetExportsInfo(const Aws::Vector< ExportInfo > &value)
Definition: DescribeExportTasksResult.h:49
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::WithExportsInfo
DescribeExportTasksResult & WithExportsInfo(const Aws::Vector< ExportInfo > &value)
Definition: DescribeExportTasksResult.h:63
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::DescribeExportTasksResult
DescribeExportTasksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::WithExportsInfo
DescribeExportTasksResult & WithExportsInfo(Aws::Vector< ExportInfo > &&value)
Definition: DescribeExportTasksResult.h:70
Aws::ApplicationDiscoveryService::Model::ExportInfo
Definition: ExportInfo.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::AddExportsInfo
DescribeExportTasksResult & AddExportsInfo(const ExportInfo &value)
Definition: DescribeExportTasksResult.h:77
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::WithNextToken
DescribeExportTasksResult & WithNextToken(const Aws::String &value)
Definition: DescribeExportTasksResult.h:130
Aws::ApplicationDiscoveryService::Model::DescribeExportTasksResult::AddExportsInfo
DescribeExportTasksResult & AddExportsInfo(ExportInfo &&value)
Definition: DescribeExportTasksResult.h:84
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28