AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PortfolioDetail.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ServiceCatalog
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SERVICECATALOG_API PortfolioDetail() = default;
36 AWS_SERVICECATALOG_API PortfolioDetail(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SERVICECATALOG_API PortfolioDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 PortfolioDetail& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
61 template<typename ARNT = Aws::String>
62 PortfolioDetail& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDisplayName() const { return m_displayName; }
70 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
71 template<typename DisplayNameT = Aws::String>
72 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
73 template<typename DisplayNameT = Aws::String>
74 PortfolioDetail& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 PortfolioDetail& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
94 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
95 template<typename CreatedTimeT = Aws::Utils::DateTime>
96 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
97 template<typename CreatedTimeT = Aws::Utils::DateTime>
98 PortfolioDetail& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
100
102
105 inline const Aws::String& GetProviderName() const { return m_providerName; }
106 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
107 template<typename ProviderNameT = Aws::String>
108 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
109 template<typename ProviderNameT = Aws::String>
110 PortfolioDetail& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
112 private:
113
114 Aws::String m_id;
115 bool m_idHasBeenSet = false;
116
117 Aws::String m_aRN;
118 bool m_aRNHasBeenSet = false;
119
120 Aws::String m_displayName;
121 bool m_displayNameHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 Aws::Utils::DateTime m_createdTime{};
127 bool m_createdTimeHasBeenSet = false;
128
129 Aws::String m_providerName;
130 bool m_providerNameHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace ServiceCatalog
135} // namespace Aws
AWS_SERVICECATALOG_API PortfolioDetail(Aws::Utils::Json::JsonView jsonValue)
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)
PortfolioDetail & WithDescription(DescriptionT &&value)
AWS_SERVICECATALOG_API PortfolioDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProviderName(ProviderNameT &&value)
const Aws::String & GetDescription() const
PortfolioDetail & WithProviderName(ProviderNameT &&value)
AWS_SERVICECATALOG_API PortfolioDetail()=default
const Aws::String & GetProviderName() const
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue