AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NamespaceInfoV2.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/NamespaceStatus.h>
10#include <aws/quicksight/model/IdentityStore.h>
11#include <aws/quicksight/model/NamespaceError.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API NamespaceInfoV2();
38 AWS_QUICKSIGHT_API NamespaceInfoV2(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline NamespaceInfoV2& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline NamespaceInfoV2& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline NamespaceInfoV2& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline NamespaceInfoV2& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline NamespaceInfoV2& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline NamespaceInfoV2& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetCapacityRegion() const{ return m_capacityRegion; }
76 inline bool CapacityRegionHasBeenSet() const { return m_capacityRegionHasBeenSet; }
77 inline void SetCapacityRegion(const Aws::String& value) { m_capacityRegionHasBeenSet = true; m_capacityRegion = value; }
78 inline void SetCapacityRegion(Aws::String&& value) { m_capacityRegionHasBeenSet = true; m_capacityRegion = std::move(value); }
79 inline void SetCapacityRegion(const char* value) { m_capacityRegionHasBeenSet = true; m_capacityRegion.assign(value); }
80 inline NamespaceInfoV2& WithCapacityRegion(const Aws::String& value) { SetCapacityRegion(value); return *this;}
81 inline NamespaceInfoV2& WithCapacityRegion(Aws::String&& value) { SetCapacityRegion(std::move(value)); return *this;}
82 inline NamespaceInfoV2& WithCapacityRegion(const char* value) { SetCapacityRegion(value); return *this;}
84
86
89 inline const NamespaceStatus& GetCreationStatus() const{ return m_creationStatus; }
90 inline bool CreationStatusHasBeenSet() const { return m_creationStatusHasBeenSet; }
91 inline void SetCreationStatus(const NamespaceStatus& value) { m_creationStatusHasBeenSet = true; m_creationStatus = value; }
92 inline void SetCreationStatus(NamespaceStatus&& value) { m_creationStatusHasBeenSet = true; m_creationStatus = std::move(value); }
93 inline NamespaceInfoV2& WithCreationStatus(const NamespaceStatus& value) { SetCreationStatus(value); return *this;}
94 inline NamespaceInfoV2& WithCreationStatus(NamespaceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
96
98
101 inline const IdentityStore& GetIdentityStore() const{ return m_identityStore; }
102 inline bool IdentityStoreHasBeenSet() const { return m_identityStoreHasBeenSet; }
103 inline void SetIdentityStore(const IdentityStore& value) { m_identityStoreHasBeenSet = true; m_identityStore = value; }
104 inline void SetIdentityStore(IdentityStore&& value) { m_identityStoreHasBeenSet = true; m_identityStore = std::move(value); }
105 inline NamespaceInfoV2& WithIdentityStore(const IdentityStore& value) { SetIdentityStore(value); return *this;}
106 inline NamespaceInfoV2& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;}
108
110
113 inline const NamespaceError& GetNamespaceError() const{ return m_namespaceError; }
114 inline bool NamespaceErrorHasBeenSet() const { return m_namespaceErrorHasBeenSet; }
115 inline void SetNamespaceError(const NamespaceError& value) { m_namespaceErrorHasBeenSet = true; m_namespaceError = value; }
116 inline void SetNamespaceError(NamespaceError&& value) { m_namespaceErrorHasBeenSet = true; m_namespaceError = std::move(value); }
117 inline NamespaceInfoV2& WithNamespaceError(const NamespaceError& value) { SetNamespaceError(value); return *this;}
118 inline NamespaceInfoV2& WithNamespaceError(NamespaceError&& value) { SetNamespaceError(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::String m_capacityRegion;
129 bool m_capacityRegionHasBeenSet = false;
130
131 NamespaceStatus m_creationStatus;
132 bool m_creationStatusHasBeenSet = false;
133
134 IdentityStore m_identityStore;
135 bool m_identityStoreHasBeenSet = false;
136
137 NamespaceError m_namespaceError;
138 bool m_namespaceErrorHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace QuickSight
143} // namespace Aws
void SetArn(const Aws::String &value)
NamespaceInfoV2 & WithArn(const char *value)
NamespaceInfoV2 & WithCapacityRegion(const Aws::String &value)
NamespaceInfoV2 & WithNamespaceError(NamespaceError &&value)
void SetName(const Aws::String &value)
NamespaceInfoV2 & WithName(Aws::String &&value)
AWS_QUICKSIGHT_API NamespaceInfoV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
const IdentityStore & GetIdentityStore() const
NamespaceInfoV2 & WithCreationStatus(NamespaceStatus &&value)
NamespaceInfoV2 & WithName(const Aws::String &value)
const NamespaceStatus & GetCreationStatus() const
void SetNamespaceError(const NamespaceError &value)
const NamespaceError & GetNamespaceError() const
void SetCreationStatus(const NamespaceStatus &value)
void SetCreationStatus(NamespaceStatus &&value)
void SetNamespaceError(NamespaceError &&value)
NamespaceInfoV2 & WithArn(Aws::String &&value)
const Aws::String & GetArn() const
NamespaceInfoV2 & WithNamespaceError(const NamespaceError &value)
void SetIdentityStore(const IdentityStore &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCapacityRegion() const
void SetCapacityRegion(Aws::String &&value)
void SetCapacityRegion(const Aws::String &value)
const Aws::String & GetName() const
AWS_QUICKSIGHT_API NamespaceInfoV2(Aws::Utils::Json::JsonView jsonValue)
NamespaceInfoV2 & WithName(const char *value)
void SetCapacityRegion(const char *value)
NamespaceInfoV2 & WithArn(const Aws::String &value)
NamespaceInfoV2 & WithIdentityStore(const IdentityStore &value)
NamespaceInfoV2 & WithCapacityRegion(Aws::String &&value)
void SetIdentityStore(IdentityStore &&value)
NamespaceInfoV2 & WithCreationStatus(const NamespaceStatus &value)
NamespaceInfoV2 & WithIdentityStore(IdentityStore &&value)
NamespaceInfoV2 & WithCapacityRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue