AWS SDK for C++  1.9.97
AWS SDK for C++
CreatePackageResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticsearchService
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const PackageDetails& GetPackageDetails() const{ return m_packageDetails; }
45 
49  inline void SetPackageDetails(const PackageDetails& value) { m_packageDetails = value; }
50 
54  inline void SetPackageDetails(PackageDetails&& value) { m_packageDetails = std::move(value); }
55 
59  inline CreatePackageResult& WithPackageDetails(const PackageDetails& value) { SetPackageDetails(value); return *this;}
60 
64  inline CreatePackageResult& WithPackageDetails(PackageDetails&& value) { SetPackageDetails(std::move(value)); return *this;}
65 
66  private:
67 
68  PackageDetails m_packageDetails;
69  };
70 
71 } // namespace Model
72 } // namespace ElasticsearchService
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::PackageDetails
Definition: PackageDetails.h:36
Aws::ElasticsearchService::Model::CreatePackageResult::WithPackageDetails
CreatePackageResult & WithPackageDetails(PackageDetails &&value)
Definition: CreatePackageResult.h:64
Aws::ElasticsearchService::Model::CreatePackageResult::operator=
CreatePackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::CreatePackageResult::GetPackageDetails
const PackageDetails & GetPackageDetails() const
Definition: CreatePackageResult.h:44
Aws::ElasticsearchService::Model::CreatePackageResult::SetPackageDetails
void SetPackageDetails(const PackageDetails &value)
Definition: CreatePackageResult.h:49
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::CreatePackageResult
Definition: CreatePackageResult.h:34
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::CreatePackageResult::SetPackageDetails
void SetPackageDetails(PackageDetails &&value)
Definition: CreatePackageResult.h:54
Aws::ElasticsearchService::Model::CreatePackageResult::CreatePackageResult
CreatePackageResult()
Aws::ElasticsearchService::Model::CreatePackageResult::WithPackageDetails
CreatePackageResult & WithPackageDetails(const PackageDetails &value)
Definition: CreatePackageResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::CreatePackageResult::CreatePackageResult
CreatePackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PackageDetails.h