AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
PortfolioDetail.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace ServiceCatalog {
21namespace Model {
22
29 public:
30 AWS_SERVICECATALOG_API PortfolioDetail() = default;
31 AWS_SERVICECATALOG_API PortfolioDetail(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SERVICECATALOG_API PortfolioDetail& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
47 PortfolioDetail& WithId(IdT&& value) {
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetARN() const { return m_aRN; }
58 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
59 template <typename ARNT = Aws::String>
60 void SetARN(ARNT&& value) {
61 m_aRNHasBeenSet = true;
62 m_aRN = std::forward<ARNT>(value);
63 }
64 template <typename ARNT = Aws::String>
65 PortfolioDetail& WithARN(ARNT&& value) {
66 SetARN(std::forward<ARNT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDisplayName() const { return m_displayName; }
76 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
77 template <typename DisplayNameT = Aws::String>
78 void SetDisplayName(DisplayNameT&& value) {
79 m_displayNameHasBeenSet = true;
80 m_displayName = std::forward<DisplayNameT>(value);
81 }
82 template <typename DisplayNameT = Aws::String>
83 PortfolioDetail& WithDisplayName(DisplayNameT&& value) {
84 SetDisplayName(std::forward<DisplayNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
101 PortfolioDetail& WithDescription(DescriptionT&& value) {
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
112 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
113 template <typename CreatedTimeT = Aws::Utils::DateTime>
114 void SetCreatedTime(CreatedTimeT&& value) {
115 m_createdTimeHasBeenSet = true;
116 m_createdTime = std::forward<CreatedTimeT>(value);
117 }
118 template <typename CreatedTimeT = Aws::Utils::DateTime>
119 PortfolioDetail& WithCreatedTime(CreatedTimeT&& value) {
120 SetCreatedTime(std::forward<CreatedTimeT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetProviderName() const { return m_providerName; }
130 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
131 template <typename ProviderNameT = Aws::String>
132 void SetProviderName(ProviderNameT&& value) {
133 m_providerNameHasBeenSet = true;
134 m_providerName = std::forward<ProviderNameT>(value);
135 }
136 template <typename ProviderNameT = Aws::String>
137 PortfolioDetail& WithProviderName(ProviderNameT&& value) {
138 SetProviderName(std::forward<ProviderNameT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_id;
144
145 Aws::String m_aRN;
146
147 Aws::String m_displayName;
148
149 Aws::String m_description;
150
151 Aws::Utils::DateTime m_createdTime{};
152
153 Aws::String m_providerName;
154 bool m_idHasBeenSet = false;
155 bool m_aRNHasBeenSet = false;
156 bool m_displayNameHasBeenSet = false;
157 bool m_descriptionHasBeenSet = false;
158 bool m_createdTimeHasBeenSet = false;
159 bool m_providerNameHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace ServiceCatalog
164} // namespace Aws
AWS_SERVICECATALOG_API PortfolioDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetDisplayName() const
PortfolioDetail & WithDisplayName(DisplayNameT &&value)
PortfolioDetail & WithId(IdT &&value)
PortfolioDetail & WithARN(ARNT &&value)
PortfolioDetail & WithCreatedTime(CreatedTimeT &&value)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
PortfolioDetail & WithDescription(DescriptionT &&value)
AWS_SERVICECATALOG_API PortfolioDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetProviderName(ProviderNameT &&value)
const Aws::String & GetDescription() const
PortfolioDetail & WithProviderName(ProviderNameT &&value)
AWS_SERVICECATALOG_API PortfolioDetail()=default
const Aws::String & GetProviderName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String