AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline PortfolioDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline PortfolioDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline PortfolioDetail& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetARN() const{ return m_aRN; }
60 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
61 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
62 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
63 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
64 inline PortfolioDetail& WithARN(const Aws::String& value) { SetARN(value); return *this;}
65 inline PortfolioDetail& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
66 inline PortfolioDetail& WithARN(const char* value) { SetARN(value); return *this;}
68
70
73 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
74 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
75 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
76 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
77 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
78 inline PortfolioDetail& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
79 inline PortfolioDetail& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
80 inline PortfolioDetail& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline PortfolioDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline PortfolioDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline PortfolioDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
102 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
103 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
104 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
105 inline PortfolioDetail& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
106 inline PortfolioDetail& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetProviderName() const{ return m_providerName; }
114 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
115 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
116 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
117 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
118 inline PortfolioDetail& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
119 inline PortfolioDetail& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
120 inline PortfolioDetail& WithProviderName(const char* value) { SetProviderName(value); return *this;}
122 private:
123
124 Aws::String m_id;
125 bool m_idHasBeenSet = false;
126
127 Aws::String m_aRN;
128 bool m_aRNHasBeenSet = false;
129
130 Aws::String m_displayName;
131 bool m_displayNameHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 Aws::Utils::DateTime m_createdTime;
137 bool m_createdTimeHasBeenSet = false;
138
139 Aws::String m_providerName;
140 bool m_providerNameHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace ServiceCatalog
145} // namespace Aws
PortfolioDetail & WithId(const Aws::String &value)
AWS_SERVICECATALOG_API PortfolioDetail(Aws::Utils::Json::JsonView jsonValue)
PortfolioDetail & WithDisplayName(const char *value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
AWS_SERVICECATALOG_API PortfolioDetail()
const Aws::Utils::DateTime & GetCreatedTime() const
void SetARN(const Aws::String &value)
const Aws::String & GetDisplayName() const
PortfolioDetail & WithDescription(const char *value)
PortfolioDetail & WithARN(const char *value)
PortfolioDetail & WithCreatedTime(const Aws::Utils::DateTime &value)
PortfolioDetail & WithProviderName(const Aws::String &value)
PortfolioDetail & WithDisplayName(const Aws::String &value)
PortfolioDetail & WithARN(const Aws::String &value)
PortfolioDetail & WithProviderName(const char *value)
PortfolioDetail & WithCreatedTime(Aws::Utils::DateTime &&value)
PortfolioDetail & WithDescription(const Aws::String &value)
PortfolioDetail & WithId(const char *value)
void SetProviderName(const Aws::String &value)
PortfolioDetail & WithDisplayName(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_SERVICECATALOG_API PortfolioDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetId(const Aws::String &value)
PortfolioDetail & WithProviderName(Aws::String &&value)
PortfolioDetail & WithId(Aws::String &&value)
PortfolioDetail & WithDescription(Aws::String &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
PortfolioDetail & WithARN(Aws::String &&value)
const Aws::String & GetProviderName() const
void SetDisplayName(const Aws::String &value)
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