AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeProductViewResult.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 ServiceCatalog
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const ProductViewSummary& GetProductViewSummary() const{ return m_productViewSummary; }
41 
45  inline void SetProductViewSummary(const ProductViewSummary& value) { m_productViewSummary = value; }
46 
50  inline void SetProductViewSummary(ProductViewSummary&& value) { m_productViewSummary = std::move(value); }
51 
55  inline DescribeProductViewResult& WithProductViewSummary(const ProductViewSummary& value) { SetProductViewSummary(value); return *this;}
56 
60  inline DescribeProductViewResult& WithProductViewSummary(ProductViewSummary&& value) { SetProductViewSummary(std::move(value)); return *this;}
61 
62 
66  inline const Aws::Vector<ProvisioningArtifact>& GetProvisioningArtifacts() const{ return m_provisioningArtifacts; }
67 
71  inline void SetProvisioningArtifacts(const Aws::Vector<ProvisioningArtifact>& value) { m_provisioningArtifacts = value; }
72 
76  inline void SetProvisioningArtifacts(Aws::Vector<ProvisioningArtifact>&& value) { m_provisioningArtifacts = std::move(value); }
77 
81  inline DescribeProductViewResult& WithProvisioningArtifacts(const Aws::Vector<ProvisioningArtifact>& value) { SetProvisioningArtifacts(value); return *this;}
82 
86  inline DescribeProductViewResult& WithProvisioningArtifacts(Aws::Vector<ProvisioningArtifact>&& value) { SetProvisioningArtifacts(std::move(value)); return *this;}
87 
91  inline DescribeProductViewResult& AddProvisioningArtifacts(const ProvisioningArtifact& value) { m_provisioningArtifacts.push_back(value); return *this; }
92 
96  inline DescribeProductViewResult& AddProvisioningArtifacts(ProvisioningArtifact&& value) { m_provisioningArtifacts.push_back(std::move(value)); return *this; }
97 
98  private:
99 
100  ProductViewSummary m_productViewSummary;
101 
102  Aws::Vector<ProvisioningArtifact> m_provisioningArtifacts;
103  };
104 
105 } // namespace Model
106 } // namespace ServiceCatalog
107 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::DescribeProductViewResult::WithProvisioningArtifacts
DescribeProductViewResult & WithProvisioningArtifacts(const Aws::Vector< ProvisioningArtifact > &value)
Definition: DescribeProductViewResult.h:81
ProductViewSummary.h
Aws::ServiceCatalog::Model::DescribeProductViewResult::WithProductViewSummary
DescribeProductViewResult & WithProductViewSummary(const ProductViewSummary &value)
Definition: DescribeProductViewResult.h:55
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
AWSVector.h
Aws::ServiceCatalog::Model::DescribeProductViewResult::AddProvisioningArtifacts
DescribeProductViewResult & AddProvisioningArtifacts(const ProvisioningArtifact &value)
Definition: DescribeProductViewResult.h:91
Aws::ServiceCatalog::Model::DescribeProductViewResult::WithProductViewSummary
DescribeProductViewResult & WithProductViewSummary(ProductViewSummary &&value)
Definition: DescribeProductViewResult.h:60
Aws::ServiceCatalog::Model::ProvisioningArtifact
Definition: ProvisioningArtifact.h:35
Aws::ServiceCatalog::Model::ProductViewSummary
Definition: ProductViewSummary.h:33
Aws::ServiceCatalog::Model::DescribeProductViewResult::SetProvisioningArtifacts
void SetProvisioningArtifacts(const Aws::Vector< ProvisioningArtifact > &value)
Definition: DescribeProductViewResult.h:71
Aws::ServiceCatalog::Model::DescribeProductViewResult::WithProvisioningArtifacts
DescribeProductViewResult & WithProvisioningArtifacts(Aws::Vector< ProvisioningArtifact > &&value)
Definition: DescribeProductViewResult.h:86
Aws::ServiceCatalog::Model::DescribeProductViewResult::SetProductViewSummary
void SetProductViewSummary(ProductViewSummary &&value)
Definition: DescribeProductViewResult.h:50
Aws::ServiceCatalog::Model::DescribeProductViewResult::operator=
DescribeProductViewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::DescribeProductViewResult::DescribeProductViewResult
DescribeProductViewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::DescribeProductViewResult::SetProvisioningArtifacts
void SetProvisioningArtifacts(Aws::Vector< ProvisioningArtifact > &&value)
Definition: DescribeProductViewResult.h:76
Aws::ServiceCatalog::Model::DescribeProductViewResult::AddProvisioningArtifacts
DescribeProductViewResult & AddProvisioningArtifacts(ProvisioningArtifact &&value)
Definition: DescribeProductViewResult.h:96
Aws::ServiceCatalog::Model::DescribeProductViewResult::GetProvisioningArtifacts
const Aws::Vector< ProvisioningArtifact > & GetProvisioningArtifacts() const
Definition: DescribeProductViewResult.h:66
Aws::ServiceCatalog::Model::DescribeProductViewResult
Definition: DescribeProductViewResult.h:30
ProvisioningArtifact.h
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DescribeProductViewResult::DescribeProductViewResult
DescribeProductViewResult()
Aws::ServiceCatalog::Model::DescribeProductViewResult::SetProductViewSummary
void SetProductViewSummary(const ProductViewSummary &value)
Definition: DescribeProductViewResult.h:45
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribeProductViewResult::GetProductViewSummary
const ProductViewSummary & GetProductViewSummary() const
Definition: DescribeProductViewResult.h:40