AWS SDK for C++  1.9.106
AWS SDK for C++
DescribePortfolioResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace ServiceCatalog
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const PortfolioDetail& GetPortfolioDetail() const{ return m_portfolioDetail; }
43 
47  inline void SetPortfolioDetail(const PortfolioDetail& value) { m_portfolioDetail = value; }
48 
52  inline void SetPortfolioDetail(PortfolioDetail&& value) { m_portfolioDetail = std::move(value); }
53 
57  inline DescribePortfolioResult& WithPortfolioDetail(const PortfolioDetail& value) { SetPortfolioDetail(value); return *this;}
58 
62  inline DescribePortfolioResult& WithPortfolioDetail(PortfolioDetail&& value) { SetPortfolioDetail(std::move(value)); return *this;}
63 
64 
68  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
69 
73  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
74 
78  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
79 
83  inline DescribePortfolioResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
84 
88  inline DescribePortfolioResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
89 
93  inline DescribePortfolioResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
94 
98  inline DescribePortfolioResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
99 
100 
104  inline const Aws::Vector<TagOptionDetail>& GetTagOptions() const{ return m_tagOptions; }
105 
109  inline void SetTagOptions(const Aws::Vector<TagOptionDetail>& value) { m_tagOptions = value; }
110 
114  inline void SetTagOptions(Aws::Vector<TagOptionDetail>&& value) { m_tagOptions = std::move(value); }
115 
119  inline DescribePortfolioResult& WithTagOptions(const Aws::Vector<TagOptionDetail>& value) { SetTagOptions(value); return *this;}
120 
124  inline DescribePortfolioResult& WithTagOptions(Aws::Vector<TagOptionDetail>&& value) { SetTagOptions(std::move(value)); return *this;}
125 
129  inline DescribePortfolioResult& AddTagOptions(const TagOptionDetail& value) { m_tagOptions.push_back(value); return *this; }
130 
134  inline DescribePortfolioResult& AddTagOptions(TagOptionDetail&& value) { m_tagOptions.push_back(std::move(value)); return *this; }
135 
136 
140  inline const Aws::Vector<BudgetDetail>& GetBudgets() const{ return m_budgets; }
141 
145  inline void SetBudgets(const Aws::Vector<BudgetDetail>& value) { m_budgets = value; }
146 
150  inline void SetBudgets(Aws::Vector<BudgetDetail>&& value) { m_budgets = std::move(value); }
151 
155  inline DescribePortfolioResult& WithBudgets(const Aws::Vector<BudgetDetail>& value) { SetBudgets(value); return *this;}
156 
160  inline DescribePortfolioResult& WithBudgets(Aws::Vector<BudgetDetail>&& value) { SetBudgets(std::move(value)); return *this;}
161 
165  inline DescribePortfolioResult& AddBudgets(const BudgetDetail& value) { m_budgets.push_back(value); return *this; }
166 
170  inline DescribePortfolioResult& AddBudgets(BudgetDetail&& value) { m_budgets.push_back(std::move(value)); return *this; }
171 
172  private:
173 
174  PortfolioDetail m_portfolioDetail;
175 
176  Aws::Vector<Tag> m_tags;
177 
178  Aws::Vector<TagOptionDetail> m_tagOptions;
179 
180  Aws::Vector<BudgetDetail> m_budgets;
181  };
182 
183 } // namespace Model
184 } // namespace ServiceCatalog
185 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::TagOptionDetail
Definition: TagOptionDetail.h:32
Aws::ServiceCatalog::Model::DescribePortfolioResult::WithTagOptions
DescribePortfolioResult & WithTagOptions(const Aws::Vector< TagOptionDetail > &value)
Definition: DescribePortfolioResult.h:119
TagOptionDetail.h
Aws::ServiceCatalog::Model::DescribePortfolioResult::AddBudgets
DescribePortfolioResult & AddBudgets(BudgetDetail &&value)
Definition: DescribePortfolioResult.h:170
Aws::ServiceCatalog::Model::DescribePortfolioResult::SetBudgets
void SetBudgets(const Aws::Vector< BudgetDetail > &value)
Definition: DescribePortfolioResult.h:145
Aws::ServiceCatalog::Model::DescribePortfolioResult::AddBudgets
DescribePortfolioResult & AddBudgets(const BudgetDetail &value)
Definition: DescribePortfolioResult.h:165
Aws::ServiceCatalog::Model::DescribePortfolioResult::AddTagOptions
DescribePortfolioResult & AddTagOptions(TagOptionDetail &&value)
Definition: DescribePortfolioResult.h:134
Aws::ServiceCatalog::Model::DescribePortfolioResult::WithTags
DescribePortfolioResult & WithTags(Aws::Vector< Tag > &&value)
Definition: DescribePortfolioResult.h:88
Aws::ServiceCatalog::Model::DescribePortfolioResult::AddTagOptions
DescribePortfolioResult & AddTagOptions(const TagOptionDetail &value)
Definition: DescribePortfolioResult.h:129
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::DescribePortfolioResult::GetTagOptions
const Aws::Vector< TagOptionDetail > & GetTagOptions() const
Definition: DescribePortfolioResult.h:104
Aws::ServiceCatalog::Model::DescribePortfolioResult::GetPortfolioDetail
const PortfolioDetail & GetPortfolioDetail() const
Definition: DescribePortfolioResult.h:42
Aws::ServiceCatalog::Model::Tag
Definition: Tag.h:33
Aws::ServiceCatalog::Model::DescribePortfolioResult::WithBudgets
DescribePortfolioResult & WithBudgets(const Aws::Vector< BudgetDetail > &value)
Definition: DescribePortfolioResult.h:155
Aws::ServiceCatalog::Model::DescribePortfolioResult::WithBudgets
DescribePortfolioResult & WithBudgets(Aws::Vector< BudgetDetail > &&value)
Definition: DescribePortfolioResult.h:160
PortfolioDetail.h
Aws::ServiceCatalog::Model::DescribePortfolioResult::AddTags
DescribePortfolioResult & AddTags(const Tag &value)
Definition: DescribePortfolioResult.h:93
Aws::ServiceCatalog::Model::DescribePortfolioResult
Definition: DescribePortfolioResult.h:32
Aws::ServiceCatalog::Model::DescribePortfolioResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: DescribePortfolioResult.h:68
BudgetDetail.h
Aws::ServiceCatalog::Model::DescribePortfolioResult::WithTagOptions
DescribePortfolioResult & WithTagOptions(Aws::Vector< TagOptionDetail > &&value)
Definition: DescribePortfolioResult.h:124
Aws::ServiceCatalog::Model::DescribePortfolioResult::SetPortfolioDetail
void SetPortfolioDetail(const PortfolioDetail &value)
Definition: DescribePortfolioResult.h:47
Aws::ServiceCatalog::Model::BudgetDetail
Definition: BudgetDetail.h:32
Aws::ServiceCatalog::Model::DescribePortfolioResult::AddTags
DescribePortfolioResult & AddTags(Tag &&value)
Definition: DescribePortfolioResult.h:98
Aws::ServiceCatalog::Model::DescribePortfolioResult::DescribePortfolioResult
DescribePortfolioResult()
Aws::ServiceCatalog::Model::DescribePortfolioResult::SetTagOptions
void SetTagOptions(const Aws::Vector< TagOptionDetail > &value)
Definition: DescribePortfolioResult.h:109
Aws::ServiceCatalog::Model::DescribePortfolioResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: DescribePortfolioResult.h:78
Aws::ServiceCatalog::Model::DescribePortfolioResult::WithPortfolioDetail
DescribePortfolioResult & WithPortfolioDetail(PortfolioDetail &&value)
Definition: DescribePortfolioResult.h:62
Aws::ServiceCatalog::Model::PortfolioDetail
Definition: PortfolioDetail.h:33
Aws::ServiceCatalog::Model::DescribePortfolioResult::SetBudgets
void SetBudgets(Aws::Vector< BudgetDetail > &&value)
Definition: DescribePortfolioResult.h:150
Aws::ServiceCatalog::Model::DescribePortfolioResult::operator=
DescribePortfolioResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::DescribePortfolioResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: DescribePortfolioResult.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DescribePortfolioResult::DescribePortfolioResult
DescribePortfolioResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribePortfolioResult::WithPortfolioDetail
DescribePortfolioResult & WithPortfolioDetail(const PortfolioDetail &value)
Definition: DescribePortfolioResult.h:57
Aws::ServiceCatalog::Model::DescribePortfolioResult::SetPortfolioDetail
void SetPortfolioDetail(PortfolioDetail &&value)
Definition: DescribePortfolioResult.h:52
Aws::ServiceCatalog::Model::DescribePortfolioResult::WithTags
DescribePortfolioResult & WithTags(const Aws::Vector< Tag > &value)
Definition: DescribePortfolioResult.h:83
Tag.h
Aws::ServiceCatalog::Model::DescribePortfolioResult::SetTagOptions
void SetTagOptions(Aws::Vector< TagOptionDetail > &&value)
Definition: DescribePortfolioResult.h:114
Aws::ServiceCatalog::Model::DescribePortfolioResult::GetBudgets
const Aws::Vector< BudgetDetail > & GetBudgets() const
Definition: DescribePortfolioResult.h:140