AWS SDK for C++  1.9.175
AWS SDK for C++
UpdateProductResult.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 ProductViewDetail& GetProductViewDetail() const{ return m_productViewDetail; }
41 
45  inline void SetProductViewDetail(const ProductViewDetail& value) { m_productViewDetail = value; }
46 
50  inline void SetProductViewDetail(ProductViewDetail&& value) { m_productViewDetail = std::move(value); }
51 
55  inline UpdateProductResult& WithProductViewDetail(const ProductViewDetail& value) { SetProductViewDetail(value); return *this;}
56 
60  inline UpdateProductResult& WithProductViewDetail(ProductViewDetail&& value) { SetProductViewDetail(std::move(value)); return *this;}
61 
62 
66  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
67 
71  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
72 
76  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
77 
81  inline UpdateProductResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
82 
86  inline UpdateProductResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
87 
91  inline UpdateProductResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
92 
96  inline UpdateProductResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
97 
98  private:
99 
100  ProductViewDetail m_productViewDetail;
101 
102  Aws::Vector<Tag> m_tags;
103  };
104 
105 } // namespace Model
106 } // namespace ServiceCatalog
107 } // namespace Aws
ProductViewDetail.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::UpdateProductResult::WithTags
UpdateProductResult & WithTags(Aws::Vector< Tag > &&value)
Definition: UpdateProductResult.h:86
Aws::ServiceCatalog::Model::ProductViewDetail
Definition: ProductViewDetail.h:35
Aws::ServiceCatalog::Model::UpdateProductResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: UpdateProductResult.h:71
Aws::ServiceCatalog::Model::UpdateProductResult
Definition: UpdateProductResult.h:30
Aws::ServiceCatalog::Model::UpdateProductResult::WithProductViewDetail
UpdateProductResult & WithProductViewDetail(ProductViewDetail &&value)
Definition: UpdateProductResult.h:60
Aws::ServiceCatalog::Model::UpdateProductResult::WithProductViewDetail
UpdateProductResult & WithProductViewDetail(const ProductViewDetail &value)
Definition: UpdateProductResult.h:55
Aws::ServiceCatalog::Model::UpdateProductResult::AddTags
UpdateProductResult & AddTags(Tag &&value)
Definition: UpdateProductResult.h:96
Aws::ServiceCatalog::Model::UpdateProductResult::AddTags
UpdateProductResult & AddTags(const Tag &value)
Definition: UpdateProductResult.h:91
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ServiceCatalog::Model::UpdateProductResult::UpdateProductResult
UpdateProductResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
AWSVector.h
Aws::ServiceCatalog::Model::UpdateProductResult::operator=
UpdateProductResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::Tag
Definition: Tag.h:33
Aws::ServiceCatalog::Model::UpdateProductResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: UpdateProductResult.h:76
Aws::ServiceCatalog::Model::UpdateProductResult::UpdateProductResult
UpdateProductResult()
Aws::ServiceCatalog::Model::UpdateProductResult::SetProductViewDetail
void SetProductViewDetail(const ProductViewDetail &value)
Definition: UpdateProductResult.h:45
Aws::ServiceCatalog::Model::UpdateProductResult::WithTags
UpdateProductResult & WithTags(const Aws::Vector< Tag > &value)
Definition: UpdateProductResult.h:81
Aws::ServiceCatalog::Model::UpdateProductResult::SetProductViewDetail
void SetProductViewDetail(ProductViewDetail &&value)
Definition: UpdateProductResult.h:50
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::UpdateProductResult::GetProductViewDetail
const ProductViewDetail & GetProductViewDetail() const
Definition: UpdateProductResult.h:40
Aws::ServiceCatalog::Model::UpdateProductResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: UpdateProductResult.h:66
ServiceCatalog_EXPORTS.h
Tag.h