AWS SDK for C++  1.9.154
AWS SDK for C++
CreateThemeResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
44  inline void SetArn(const Aws::String& value) { m_arn = value; }
45 
49  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 
54  inline void SetArn(const char* value) { m_arn.assign(value); }
55 
59  inline CreateThemeResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline CreateThemeResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline CreateThemeResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
75  inline const Aws::String& GetVersionArn() const{ return m_versionArn; }
76 
80  inline void SetVersionArn(const Aws::String& value) { m_versionArn = value; }
81 
85  inline void SetVersionArn(Aws::String&& value) { m_versionArn = std::move(value); }
86 
90  inline void SetVersionArn(const char* value) { m_versionArn.assign(value); }
91 
95  inline CreateThemeResult& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;}
96 
100  inline CreateThemeResult& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;}
101 
105  inline CreateThemeResult& WithVersionArn(const char* value) { SetVersionArn(value); return *this;}
106 
107 
111  inline const Aws::String& GetThemeId() const{ return m_themeId; }
112 
116  inline void SetThemeId(const Aws::String& value) { m_themeId = value; }
117 
121  inline void SetThemeId(Aws::String&& value) { m_themeId = std::move(value); }
122 
126  inline void SetThemeId(const char* value) { m_themeId.assign(value); }
127 
131  inline CreateThemeResult& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
132 
136  inline CreateThemeResult& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
137 
141  inline CreateThemeResult& WithThemeId(const char* value) { SetThemeId(value); return *this;}
142 
143 
147  inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; }
148 
152  inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; }
153 
157  inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); }
158 
162  inline CreateThemeResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
163 
167  inline CreateThemeResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
168 
169 
173  inline int GetStatus() const{ return m_status; }
174 
178  inline void SetStatus(int value) { m_status = value; }
179 
183  inline CreateThemeResult& WithStatus(int value) { SetStatus(value); return *this;}
184 
185 
189  inline const Aws::String& GetRequestId() const{ return m_requestId; }
190 
194  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
195 
199  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
200 
204  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
205 
209  inline CreateThemeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
210 
214  inline CreateThemeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
215 
219  inline CreateThemeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
220 
221  private:
222 
223  Aws::String m_arn;
224 
225  Aws::String m_versionArn;
226 
227  Aws::String m_themeId;
228 
229  ResourceStatus m_creationStatus;
230 
231  int m_status;
232 
233  Aws::String m_requestId;
234  };
235 
236 } // namespace Model
237 } // namespace QuickSight
238 } // namespace Aws
ResourceStatus.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateThemeResult::WithStatus
CreateThemeResult & WithStatus(int value)
Definition: CreateThemeResult.h:183
Aws::QuickSight::Model::CreateThemeResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: CreateThemeResult.h:189
Aws::QuickSight::Model::CreateThemeResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateThemeResult.h:49
Aws::QuickSight::Model::CreateThemeResult::GetVersionArn
const Aws::String & GetVersionArn() const
Definition: CreateThemeResult.h:75
Aws::QuickSight::Model::CreateThemeResult::WithCreationStatus
CreateThemeResult & WithCreationStatus(const ResourceStatus &value)
Definition: CreateThemeResult.h:162
Aws::QuickSight::Model::CreateThemeResult::WithVersionArn
CreateThemeResult & WithVersionArn(Aws::String &&value)
Definition: CreateThemeResult.h:100
Aws::QuickSight::Model::CreateThemeResult::WithVersionArn
CreateThemeResult & WithVersionArn(const char *value)
Definition: CreateThemeResult.h:105
Aws::QuickSight::Model::CreateThemeResult::operator=
CreateThemeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateThemeResult::GetStatus
int GetStatus() const
Definition: CreateThemeResult.h:173
Aws::QuickSight::Model::CreateThemeResult::WithArn
CreateThemeResult & WithArn(const char *value)
Definition: CreateThemeResult.h:69
Aws::QuickSight::Model::CreateThemeResult::WithThemeId
CreateThemeResult & WithThemeId(Aws::String &&value)
Definition: CreateThemeResult.h:136
Aws::QuickSight::Model::CreateThemeResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateThemeResult.h:44
Aws::QuickSight::Model::CreateThemeResult::CreateThemeResult
CreateThemeResult()
Aws::QuickSight::Model::CreateThemeResult::SetVersionArn
void SetVersionArn(const Aws::String &value)
Definition: CreateThemeResult.h:80
Aws::QuickSight::Model::CreateThemeResult::SetRequestId
void SetRequestId(const char *value)
Definition: CreateThemeResult.h:204
Aws::QuickSight::Model::CreateThemeResult::SetVersionArn
void SetVersionArn(Aws::String &&value)
Definition: CreateThemeResult.h:85
Aws::QuickSight::Model::CreateThemeResult::WithRequestId
CreateThemeResult & WithRequestId(Aws::String &&value)
Definition: CreateThemeResult.h:214
Aws::QuickSight::Model::CreateThemeResult::SetCreationStatus
void SetCreationStatus(ResourceStatus &&value)
Definition: CreateThemeResult.h:157
Aws::QuickSight::Model::CreateThemeResult::WithVersionArn
CreateThemeResult & WithVersionArn(const Aws::String &value)
Definition: CreateThemeResult.h:95
Aws::QuickSight::Model::CreateThemeResult::SetArn
void SetArn(const char *value)
Definition: CreateThemeResult.h:54
Aws::QuickSight::Model::CreateThemeResult::SetThemeId
void SetThemeId(Aws::String &&value)
Definition: CreateThemeResult.h:121
Aws::QuickSight::Model::CreateThemeResult::SetThemeId
void SetThemeId(const Aws::String &value)
Definition: CreateThemeResult.h:116
Aws::QuickSight::Model::CreateThemeResult::SetVersionArn
void SetVersionArn(const char *value)
Definition: CreateThemeResult.h:90
Aws::QuickSight::Model::CreateThemeResult::GetArn
const Aws::String & GetArn() const
Definition: CreateThemeResult.h:39
AWSString.h
Aws::QuickSight::Model::CreateThemeResult::CreateThemeResult
CreateThemeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateThemeResult
Definition: CreateThemeResult.h:29
Aws::QuickSight::Model::CreateThemeResult::WithThemeId
CreateThemeResult & WithThemeId(const char *value)
Definition: CreateThemeResult.h:141
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::CreateThemeResult::SetThemeId
void SetThemeId(const char *value)
Definition: CreateThemeResult.h:126
Aws::QuickSight::Model::CreateThemeResult::SetCreationStatus
void SetCreationStatus(const ResourceStatus &value)
Definition: CreateThemeResult.h:152
Aws::QuickSight::Model::CreateThemeResult::SetStatus
void SetStatus(int value)
Definition: CreateThemeResult.h:178
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateThemeResult::WithRequestId
CreateThemeResult & WithRequestId(const char *value)
Definition: CreateThemeResult.h:219
Aws::QuickSight::Model::CreateThemeResult::GetCreationStatus
const ResourceStatus & GetCreationStatus() const
Definition: CreateThemeResult.h:147
Aws::QuickSight::Model::CreateThemeResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: CreateThemeResult.h:194
Aws::QuickSight::Model::CreateThemeResult::WithRequestId
CreateThemeResult & WithRequestId(const Aws::String &value)
Definition: CreateThemeResult.h:209
Aws::QuickSight::Model::CreateThemeResult::WithThemeId
CreateThemeResult & WithThemeId(const Aws::String &value)
Definition: CreateThemeResult.h:131
Aws::QuickSight::Model::CreateThemeResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: CreateThemeResult.h:199
Aws::QuickSight::Model::CreateThemeResult::WithCreationStatus
CreateThemeResult & WithCreationStatus(ResourceStatus &&value)
Definition: CreateThemeResult.h:167
Aws::QuickSight::Model::CreateThemeResult::GetThemeId
const Aws::String & GetThemeId() const
Definition: CreateThemeResult.h:111
Aws::QuickSight::Model::CreateThemeResult::WithArn
CreateThemeResult & WithArn(const Aws::String &value)
Definition: CreateThemeResult.h:59
Aws::QuickSight::Model::CreateThemeResult::WithArn
CreateThemeResult & WithArn(Aws::String &&value)
Definition: CreateThemeResult.h:64