AWS SDK for C++  1.8.126
AWS SDK for C++
NamespaceInfoV2.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline NamespaceInfoV2& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline NamespaceInfoV2& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline NamespaceInfoV2& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline const Aws::String& GetArn() const{ return m_arn; }
88 
92  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
93 
97  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
98 
102  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
103 
107  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
108 
112  inline NamespaceInfoV2& WithArn(const Aws::String& value) { SetArn(value); return *this;}
113 
117  inline NamespaceInfoV2& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
118 
122  inline NamespaceInfoV2& WithArn(const char* value) { SetArn(value); return *this;}
123 
124 
128  inline const Aws::String& GetCapacityRegion() const{ return m_capacityRegion; }
129 
133  inline bool CapacityRegionHasBeenSet() const { return m_capacityRegionHasBeenSet; }
134 
138  inline void SetCapacityRegion(const Aws::String& value) { m_capacityRegionHasBeenSet = true; m_capacityRegion = value; }
139 
143  inline void SetCapacityRegion(Aws::String&& value) { m_capacityRegionHasBeenSet = true; m_capacityRegion = std::move(value); }
144 
148  inline void SetCapacityRegion(const char* value) { m_capacityRegionHasBeenSet = true; m_capacityRegion.assign(value); }
149 
153  inline NamespaceInfoV2& WithCapacityRegion(const Aws::String& value) { SetCapacityRegion(value); return *this;}
154 
158  inline NamespaceInfoV2& WithCapacityRegion(Aws::String&& value) { SetCapacityRegion(std::move(value)); return *this;}
159 
163  inline NamespaceInfoV2& WithCapacityRegion(const char* value) { SetCapacityRegion(value); return *this;}
164 
165 
169  inline const NamespaceStatus& GetCreationStatus() const{ return m_creationStatus; }
170 
174  inline bool CreationStatusHasBeenSet() const { return m_creationStatusHasBeenSet; }
175 
179  inline void SetCreationStatus(const NamespaceStatus& value) { m_creationStatusHasBeenSet = true; m_creationStatus = value; }
180 
184  inline void SetCreationStatus(NamespaceStatus&& value) { m_creationStatusHasBeenSet = true; m_creationStatus = std::move(value); }
185 
189  inline NamespaceInfoV2& WithCreationStatus(const NamespaceStatus& value) { SetCreationStatus(value); return *this;}
190 
194  inline NamespaceInfoV2& WithCreationStatus(NamespaceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
195 
196 
200  inline const IdentityStore& GetIdentityStore() const{ return m_identityStore; }
201 
205  inline bool IdentityStoreHasBeenSet() const { return m_identityStoreHasBeenSet; }
206 
210  inline void SetIdentityStore(const IdentityStore& value) { m_identityStoreHasBeenSet = true; m_identityStore = value; }
211 
215  inline void SetIdentityStore(IdentityStore&& value) { m_identityStoreHasBeenSet = true; m_identityStore = std::move(value); }
216 
220  inline NamespaceInfoV2& WithIdentityStore(const IdentityStore& value) { SetIdentityStore(value); return *this;}
221 
225  inline NamespaceInfoV2& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;}
226 
227 
231  inline const NamespaceError& GetNamespaceError() const{ return m_namespaceError; }
232 
236  inline bool NamespaceErrorHasBeenSet() const { return m_namespaceErrorHasBeenSet; }
237 
241  inline void SetNamespaceError(const NamespaceError& value) { m_namespaceErrorHasBeenSet = true; m_namespaceError = value; }
242 
246  inline void SetNamespaceError(NamespaceError&& value) { m_namespaceErrorHasBeenSet = true; m_namespaceError = std::move(value); }
247 
251  inline NamespaceInfoV2& WithNamespaceError(const NamespaceError& value) { SetNamespaceError(value); return *this;}
252 
256  inline NamespaceInfoV2& WithNamespaceError(NamespaceError&& value) { SetNamespaceError(std::move(value)); return *this;}
257 
258  private:
259 
260  Aws::String m_name;
261  bool m_nameHasBeenSet;
262 
263  Aws::String m_arn;
264  bool m_arnHasBeenSet;
265 
266  Aws::String m_capacityRegion;
267  bool m_capacityRegionHasBeenSet;
268 
269  NamespaceStatus m_creationStatus;
270  bool m_creationStatusHasBeenSet;
271 
272  IdentityStore m_identityStore;
273  bool m_identityStoreHasBeenSet;
274 
275  NamespaceError m_namespaceError;
276  bool m_namespaceErrorHasBeenSet;
277  };
278 
279 } // namespace Model
280 } // namespace QuickSight
281 } // namespace Aws
NamespaceStatus.h
Aws::QuickSight::Model::NamespaceInfoV2::WithName
NamespaceInfoV2 & WithName(const Aws::String &value)
Definition: NamespaceInfoV2.h:71
Aws::QuickSight::Model::NamespaceStatus
NamespaceStatus
Definition: NamespaceStatus.h:17
Aws::QuickSight::Model::NamespaceInfoV2::SetNamespaceError
void SetNamespaceError(const NamespaceError &value)
Definition: NamespaceInfoV2.h:241
Aws::QuickSight::Model::NamespaceInfoV2::GetIdentityStore
const IdentityStore & GetIdentityStore() const
Definition: NamespaceInfoV2.h:200
QuickSight_EXPORTS.h
Aws::QuickSight::Model::NamespaceInfoV2::SetArn
void SetArn(Aws::String &&value)
Definition: NamespaceInfoV2.h:102
Aws::QuickSight::Model::NamespaceInfoV2::operator=
NamespaceInfoV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::NamespaceInfoV2::SetName
void SetName(Aws::String &&value)
Definition: NamespaceInfoV2.h:61
Aws::QuickSight::Model::NamespaceError
Definition: NamespaceError.h:33
Aws::QuickSight::Model::NamespaceInfoV2::WithCreationStatus
NamespaceInfoV2 & WithCreationStatus(NamespaceStatus &&value)
Definition: NamespaceInfoV2.h:194
Aws::QuickSight::Model::NamespaceInfoV2::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: NamespaceInfoV2.h:92
Aws::QuickSight::Model::NamespaceInfoV2
Definition: NamespaceInfoV2.h:35
Aws::QuickSight::Model::NamespaceInfoV2::WithIdentityStore
NamespaceInfoV2 & WithIdentityStore(const IdentityStore &value)
Definition: NamespaceInfoV2.h:220
Aws::QuickSight::Model::NamespaceInfoV2::WithNamespaceError
NamespaceInfoV2 & WithNamespaceError(const NamespaceError &value)
Definition: NamespaceInfoV2.h:251
Aws::QuickSight::Model::NamespaceInfoV2::CapacityRegionHasBeenSet
bool CapacityRegionHasBeenSet() const
Definition: NamespaceInfoV2.h:133
IdentityStore.h
Aws::QuickSight::Model::NamespaceInfoV2::SetIdentityStore
void SetIdentityStore(IdentityStore &&value)
Definition: NamespaceInfoV2.h:215
Aws::QuickSight::Model::NamespaceInfoV2::CreationStatusHasBeenSet
bool CreationStatusHasBeenSet() const
Definition: NamespaceInfoV2.h:174
Aws::QuickSight::Model::NamespaceInfoV2::SetCreationStatus
void SetCreationStatus(const NamespaceStatus &value)
Definition: NamespaceInfoV2.h:179
Aws::QuickSight::Model::NamespaceInfoV2::SetName
void SetName(const char *value)
Definition: NamespaceInfoV2.h:66
Aws::QuickSight::Model::NamespaceInfoV2::NamespaceErrorHasBeenSet
bool NamespaceErrorHasBeenSet() const
Definition: NamespaceInfoV2.h:236
Aws::QuickSight::Model::NamespaceInfoV2::SetIdentityStore
void SetIdentityStore(const IdentityStore &value)
Definition: NamespaceInfoV2.h:210
Aws::QuickSight::Model::NamespaceInfoV2::WithNamespaceError
NamespaceInfoV2 & WithNamespaceError(NamespaceError &&value)
Definition: NamespaceInfoV2.h:256
Aws::QuickSight::Model::NamespaceInfoV2::WithCapacityRegion
NamespaceInfoV2 & WithCapacityRegion(const Aws::String &value)
Definition: NamespaceInfoV2.h:153
Aws::QuickSight::Model::NamespaceInfoV2::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::NamespaceInfoV2::SetCapacityRegion
void SetCapacityRegion(const char *value)
Definition: NamespaceInfoV2.h:148
Aws::QuickSight::Model::NamespaceInfoV2::SetName
void SetName(const Aws::String &value)
Definition: NamespaceInfoV2.h:56
NamespaceError.h
Aws::QuickSight::Model::NamespaceInfoV2::NamespaceInfoV2
NamespaceInfoV2(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::NamespaceInfoV2::GetName
const Aws::String & GetName() const
Definition: NamespaceInfoV2.h:46
Aws::QuickSight::Model::NamespaceInfoV2::SetCapacityRegion
void SetCapacityRegion(Aws::String &&value)
Definition: NamespaceInfoV2.h:143
Aws::QuickSight::Model::IdentityStore
IdentityStore
Definition: IdentityStore.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::QuickSight::Model::NamespaceInfoV2::IdentityStoreHasBeenSet
bool IdentityStoreHasBeenSet() const
Definition: NamespaceInfoV2.h:205
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::QuickSight::Model::NamespaceInfoV2::GetCapacityRegion
const Aws::String & GetCapacityRegion() const
Definition: NamespaceInfoV2.h:128
Aws::QuickSight::Model::NamespaceInfoV2::WithCapacityRegion
NamespaceInfoV2 & WithCapacityRegion(const char *value)
Definition: NamespaceInfoV2.h:163
Aws::QuickSight::Model::NamespaceInfoV2::WithArn
NamespaceInfoV2 & WithArn(Aws::String &&value)
Definition: NamespaceInfoV2.h:117
Aws::QuickSight::Model::NamespaceInfoV2::WithName
NamespaceInfoV2 & WithName(const char *value)
Definition: NamespaceInfoV2.h:81
Aws::QuickSight::Model::NamespaceInfoV2::NameHasBeenSet
bool NameHasBeenSet() const
Definition: NamespaceInfoV2.h:51
Aws::QuickSight::Model::NamespaceInfoV2::WithArn
NamespaceInfoV2 & WithArn(const Aws::String &value)
Definition: NamespaceInfoV2.h:112
Aws::QuickSight::Model::NamespaceInfoV2::WithIdentityStore
NamespaceInfoV2 & WithIdentityStore(IdentityStore &&value)
Definition: NamespaceInfoV2.h:225
Aws::QuickSight::Model::NamespaceInfoV2::WithArn
NamespaceInfoV2 & WithArn(const char *value)
Definition: NamespaceInfoV2.h:122
Aws::QuickSight::Model::NamespaceInfoV2::WithName
NamespaceInfoV2 & WithName(Aws::String &&value)
Definition: NamespaceInfoV2.h:76
Aws::QuickSight::Model::NamespaceInfoV2::SetNamespaceError
void SetNamespaceError(NamespaceError &&value)
Definition: NamespaceInfoV2.h:246
Aws::QuickSight::Model::NamespaceInfoV2::SetCreationStatus
void SetCreationStatus(NamespaceStatus &&value)
Definition: NamespaceInfoV2.h:184
Aws::QuickSight::Model::NamespaceInfoV2::WithCreationStatus
NamespaceInfoV2 & WithCreationStatus(const NamespaceStatus &value)
Definition: NamespaceInfoV2.h:189
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::NamespaceInfoV2::SetArn
void SetArn(const Aws::String &value)
Definition: NamespaceInfoV2.h:97
Aws::QuickSight::Model::NamespaceInfoV2::WithCapacityRegion
NamespaceInfoV2 & WithCapacityRegion(Aws::String &&value)
Definition: NamespaceInfoV2.h:158
Aws::QuickSight::Model::NamespaceInfoV2::GetArn
const Aws::String & GetArn() const
Definition: NamespaceInfoV2.h:87
Aws::QuickSight::Model::NamespaceInfoV2::SetCapacityRegion
void SetCapacityRegion(const Aws::String &value)
Definition: NamespaceInfoV2.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::NamespaceInfoV2::SetArn
void SetArn(const char *value)
Definition: NamespaceInfoV2.h:107
Aws::QuickSight::Model::NamespaceInfoV2::GetNamespaceError
const NamespaceError & GetNamespaceError() const
Definition: NamespaceInfoV2.h:231
Aws::QuickSight::Model::NamespaceInfoV2::NamespaceInfoV2
NamespaceInfoV2()
Aws::QuickSight::Model::NamespaceInfoV2::GetCreationStatus
const NamespaceStatus & GetCreationStatus() const
Definition: NamespaceInfoV2.h:169