AWS SDK for C++  1.9.108
AWS SDK for C++
UpdatePortfolioResult.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 PortfolioDetail& GetPortfolioDetail() const{ return m_portfolioDetail; }
41 
45  inline void SetPortfolioDetail(const PortfolioDetail& value) { m_portfolioDetail = value; }
46 
50  inline void SetPortfolioDetail(PortfolioDetail&& value) { m_portfolioDetail = std::move(value); }
51 
55  inline UpdatePortfolioResult& WithPortfolioDetail(const PortfolioDetail& value) { SetPortfolioDetail(value); return *this;}
56 
60  inline UpdatePortfolioResult& WithPortfolioDetail(PortfolioDetail&& value) { SetPortfolioDetail(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 UpdatePortfolioResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
82 
86  inline UpdatePortfolioResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
87 
91  inline UpdatePortfolioResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
92 
96  inline UpdatePortfolioResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
97 
98  private:
99 
100  PortfolioDetail m_portfolioDetail;
101 
102  Aws::Vector<Tag> m_tags;
103  };
104 
105 } // namespace Model
106 } // namespace ServiceCatalog
107 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::UpdatePortfolioResult::AddTags
UpdatePortfolioResult & AddTags(const Tag &value)
Definition: UpdatePortfolioResult.h:91
Aws::ServiceCatalog::Model::UpdatePortfolioResult::GetPortfolioDetail
const PortfolioDetail & GetPortfolioDetail() const
Definition: UpdatePortfolioResult.h:40
Aws::ServiceCatalog::Model::UpdatePortfolioResult::WithPortfolioDetail
UpdatePortfolioResult & WithPortfolioDetail(const PortfolioDetail &value)
Definition: UpdatePortfolioResult.h:55
Aws::ServiceCatalog::Model::UpdatePortfolioResult::WithTags
UpdatePortfolioResult & WithTags(const Aws::Vector< Tag > &value)
Definition: UpdatePortfolioResult.h:81
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
Aws::ServiceCatalog::Model::UpdatePortfolioResult::SetPortfolioDetail
void SetPortfolioDetail(const PortfolioDetail &value)
Definition: UpdatePortfolioResult.h:45
AWSVector.h
Aws::ServiceCatalog::Model::UpdatePortfolioResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: UpdatePortfolioResult.h:71
Aws::ServiceCatalog::Model::UpdatePortfolioResult::UpdatePortfolioResult
UpdatePortfolioResult()
Aws::ServiceCatalog::Model::Tag
Definition: Tag.h:33
Aws::ServiceCatalog::Model::UpdatePortfolioResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: UpdatePortfolioResult.h:76
PortfolioDetail.h
Aws::ServiceCatalog::Model::UpdatePortfolioResult::AddTags
UpdatePortfolioResult & AddTags(Tag &&value)
Definition: UpdatePortfolioResult.h:96
Aws::ServiceCatalog::Model::UpdatePortfolioResult::SetPortfolioDetail
void SetPortfolioDetail(PortfolioDetail &&value)
Definition: UpdatePortfolioResult.h:50
Aws::ServiceCatalog::Model::PortfolioDetail
Definition: PortfolioDetail.h:33
Aws::ServiceCatalog::Model::UpdatePortfolioResult::UpdatePortfolioResult
UpdatePortfolioResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::UpdatePortfolioResult::WithPortfolioDetail
UpdatePortfolioResult & WithPortfolioDetail(PortfolioDetail &&value)
Definition: UpdatePortfolioResult.h:60
Aws::ServiceCatalog::Model::UpdatePortfolioResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: UpdatePortfolioResult.h:66
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::UpdatePortfolioResult::WithTags
UpdatePortfolioResult & WithTags(Aws::Vector< Tag > &&value)
Definition: UpdatePortfolioResult.h:86
Aws::ServiceCatalog::Model::UpdatePortfolioResult::operator=
UpdatePortfolioResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::UpdatePortfolioResult
Definition: UpdatePortfolioResult.h:30
Tag.h