AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePortfolioResult.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/PortfolioDetail.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/servicecatalog/model/Tag.h>
12#include <aws/servicecatalog/model/TagOptionDetail.h>
13#include <aws/servicecatalog/model/BudgetDetail.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace ServiceCatalog
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SERVICECATALOG_API DescribePortfolioResult();
38
39
41
44 inline const PortfolioDetail& GetPortfolioDetail() const{ return m_portfolioDetail; }
45 inline void SetPortfolioDetail(const PortfolioDetail& value) { m_portfolioDetail = value; }
46 inline void SetPortfolioDetail(PortfolioDetail&& value) { m_portfolioDetail = std::move(value); }
48 inline DescribePortfolioResult& WithPortfolioDetail(PortfolioDetail&& value) { SetPortfolioDetail(std::move(value)); return *this;}
50
52
55 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
56 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
57 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
58 inline DescribePortfolioResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
59 inline DescribePortfolioResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
60 inline DescribePortfolioResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
61 inline DescribePortfolioResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
63
65
68 inline const Aws::Vector<TagOptionDetail>& GetTagOptions() const{ return m_tagOptions; }
69 inline void SetTagOptions(const Aws::Vector<TagOptionDetail>& value) { m_tagOptions = value; }
70 inline void SetTagOptions(Aws::Vector<TagOptionDetail>&& value) { m_tagOptions = std::move(value); }
72 inline DescribePortfolioResult& WithTagOptions(Aws::Vector<TagOptionDetail>&& value) { SetTagOptions(std::move(value)); return *this;}
73 inline DescribePortfolioResult& AddTagOptions(const TagOptionDetail& value) { m_tagOptions.push_back(value); return *this; }
74 inline DescribePortfolioResult& AddTagOptions(TagOptionDetail&& value) { m_tagOptions.push_back(std::move(value)); return *this; }
76
78
81 inline const Aws::Vector<BudgetDetail>& GetBudgets() const{ return m_budgets; }
82 inline void SetBudgets(const Aws::Vector<BudgetDetail>& value) { m_budgets = value; }
83 inline void SetBudgets(Aws::Vector<BudgetDetail>&& value) { m_budgets = std::move(value); }
84 inline DescribePortfolioResult& WithBudgets(const Aws::Vector<BudgetDetail>& value) { SetBudgets(value); return *this;}
85 inline DescribePortfolioResult& WithBudgets(Aws::Vector<BudgetDetail>&& value) { SetBudgets(std::move(value)); return *this;}
86 inline DescribePortfolioResult& AddBudgets(const BudgetDetail& value) { m_budgets.push_back(value); return *this; }
87 inline DescribePortfolioResult& AddBudgets(BudgetDetail&& value) { m_budgets.push_back(std::move(value)); return *this; }
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline DescribePortfolioResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline DescribePortfolioResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline DescribePortfolioResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 PortfolioDetail m_portfolioDetail;
103
104 Aws::Vector<Tag> m_tags;
105
106 Aws::Vector<TagOptionDetail> m_tagOptions;
107
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace ServiceCatalog
115} // namespace Aws
DescribePortfolioResult & WithPortfolioDetail(PortfolioDetail &&value)
DescribePortfolioResult & WithTags(const Aws::Vector< Tag > &value)
DescribePortfolioResult & WithTags(Aws::Vector< Tag > &&value)
void SetTagOptions(Aws::Vector< TagOptionDetail > &&value)
DescribePortfolioResult & WithTagOptions(const Aws::Vector< TagOptionDetail > &value)
AWS_SERVICECATALOG_API DescribePortfolioResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePortfolioResult & AddTagOptions(const TagOptionDetail &value)
DescribePortfolioResult & WithRequestId(Aws::String &&value)
DescribePortfolioResult & WithBudgets(Aws::Vector< BudgetDetail > &&value)
DescribePortfolioResult & AddTagOptions(TagOptionDetail &&value)
DescribePortfolioResult & AddBudgets(BudgetDetail &&value)
void SetBudgets(Aws::Vector< BudgetDetail > &&value)
DescribePortfolioResult & WithRequestId(const char *value)
DescribePortfolioResult & WithTagOptions(Aws::Vector< TagOptionDetail > &&value)
DescribePortfolioResult & WithBudgets(const Aws::Vector< BudgetDetail > &value)
void SetTagOptions(const Aws::Vector< TagOptionDetail > &value)
AWS_SERVICECATALOG_API DescribePortfolioResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePortfolioResult & WithRequestId(const Aws::String &value)
DescribePortfolioResult & AddBudgets(const BudgetDetail &value)
void SetBudgets(const Aws::Vector< BudgetDetail > &value)
const Aws::Vector< BudgetDetail > & GetBudgets() const
DescribePortfolioResult & AddTags(const Tag &value)
const Aws::Vector< TagOptionDetail > & GetTagOptions() const
DescribePortfolioResult & WithPortfolioDetail(const PortfolioDetail &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue