AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
38
39
41
44 inline const PortfolioDetail& GetPortfolioDetail() const { return m_portfolioDetail; }
45 template<typename PortfolioDetailT = PortfolioDetail>
46 void SetPortfolioDetail(PortfolioDetailT&& value) { m_portfolioDetailHasBeenSet = true; m_portfolioDetail = std::forward<PortfolioDetailT>(value); }
47 template<typename PortfolioDetailT = PortfolioDetail>
48 DescribePortfolioResult& WithPortfolioDetail(PortfolioDetailT&& value) { SetPortfolioDetail(std::forward<PortfolioDetailT>(value)); return *this;}
50
52
55 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
56 template<typename TagsT = Aws::Vector<Tag>>
57 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
58 template<typename TagsT = Aws::Vector<Tag>>
59 DescribePortfolioResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
60 template<typename TagsT = Tag>
61 DescribePortfolioResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
63
65
68 inline const Aws::Vector<TagOptionDetail>& GetTagOptions() const { return m_tagOptions; }
69 template<typename TagOptionsT = Aws::Vector<TagOptionDetail>>
70 void SetTagOptions(TagOptionsT&& value) { m_tagOptionsHasBeenSet = true; m_tagOptions = std::forward<TagOptionsT>(value); }
71 template<typename TagOptionsT = Aws::Vector<TagOptionDetail>>
72 DescribePortfolioResult& WithTagOptions(TagOptionsT&& value) { SetTagOptions(std::forward<TagOptionsT>(value)); return *this;}
73 template<typename TagOptionsT = TagOptionDetail>
74 DescribePortfolioResult& AddTagOptions(TagOptionsT&& value) { m_tagOptionsHasBeenSet = true; m_tagOptions.emplace_back(std::forward<TagOptionsT>(value)); return *this; }
76
78
81 inline const Aws::Vector<BudgetDetail>& GetBudgets() const { return m_budgets; }
82 template<typename BudgetsT = Aws::Vector<BudgetDetail>>
83 void SetBudgets(BudgetsT&& value) { m_budgetsHasBeenSet = true; m_budgets = std::forward<BudgetsT>(value); }
84 template<typename BudgetsT = Aws::Vector<BudgetDetail>>
85 DescribePortfolioResult& WithBudgets(BudgetsT&& value) { SetBudgets(std::forward<BudgetsT>(value)); return *this;}
86 template<typename BudgetsT = BudgetDetail>
87 DescribePortfolioResult& AddBudgets(BudgetsT&& value) { m_budgetsHasBeenSet = true; m_budgets.emplace_back(std::forward<BudgetsT>(value)); return *this; }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 DescribePortfolioResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 PortfolioDetail m_portfolioDetail;
101 bool m_portfolioDetailHasBeenSet = false;
102
103 Aws::Vector<Tag> m_tags;
104 bool m_tagsHasBeenSet = false;
105
106 Aws::Vector<TagOptionDetail> m_tagOptions;
107 bool m_tagOptionsHasBeenSet = false;
108
110 bool m_budgetsHasBeenSet = false;
111
112 Aws::String m_requestId;
113 bool m_requestIdHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ServiceCatalog
118} // namespace Aws
DescribePortfolioResult & WithRequestId(RequestIdT &&value)
DescribePortfolioResult & WithTagOptions(TagOptionsT &&value)
DescribePortfolioResult & AddBudgets(BudgetsT &&value)
DescribePortfolioResult & AddTagOptions(TagOptionsT &&value)
AWS_SERVICECATALOG_API DescribePortfolioResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SERVICECATALOG_API DescribePortfolioResult()=default
DescribePortfolioResult & AddTags(TagsT &&value)
DescribePortfolioResult & WithBudgets(BudgetsT &&value)
DescribePortfolioResult & WithPortfolioDetail(PortfolioDetailT &&value)
AWS_SERVICECATALOG_API DescribePortfolioResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePortfolioResult & WithTags(TagsT &&value)
const Aws::Vector< BudgetDetail > & GetBudgets() const
const Aws::Vector< TagOptionDetail > & GetTagOptions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue