AWS SDK for C++  1.9.154
AWS SDK for C++
CreateDashboardResult.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 CreateDashboardResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline CreateDashboardResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline CreateDashboardResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
76  inline const Aws::String& GetVersionArn() const{ return m_versionArn; }
77 
82  inline void SetVersionArn(const Aws::String& value) { m_versionArn = value; }
83 
88  inline void SetVersionArn(Aws::String&& value) { m_versionArn = std::move(value); }
89 
94  inline void SetVersionArn(const char* value) { m_versionArn.assign(value); }
95 
100  inline CreateDashboardResult& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;}
101 
106  inline CreateDashboardResult& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;}
107 
112  inline CreateDashboardResult& WithVersionArn(const char* value) { SetVersionArn(value); return *this;}
113 
114 
118  inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
119 
123  inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; }
124 
128  inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); }
129 
133  inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); }
134 
138  inline CreateDashboardResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
139 
143  inline CreateDashboardResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
144 
148  inline CreateDashboardResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
149 
150 
154  inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; }
155 
159  inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; }
160 
164  inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); }
165 
169  inline CreateDashboardResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
170 
174  inline CreateDashboardResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(value)); return *this;}
175 
176 
180  inline int GetStatus() const{ return m_status; }
181 
185  inline void SetStatus(int value) { m_status = value; }
186 
190  inline CreateDashboardResult& WithStatus(int value) { SetStatus(value); return *this;}
191 
192 
196  inline const Aws::String& GetRequestId() const{ return m_requestId; }
197 
201  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
202 
206  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
207 
211  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
212 
216  inline CreateDashboardResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
217 
221  inline CreateDashboardResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
222 
226  inline CreateDashboardResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
227 
228  private:
229 
230  Aws::String m_arn;
231 
232  Aws::String m_versionArn;
233 
234  Aws::String m_dashboardId;
235 
236  ResourceStatus m_creationStatus;
237 
238  int m_status;
239 
240  Aws::String m_requestId;
241  };
242 
243 } // namespace Model
244 } // namespace QuickSight
245 } // namespace Aws
ResourceStatus.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::CreateDashboardResult::operator=
CreateDashboardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateDashboardResult::SetCreationStatus
void SetCreationStatus(ResourceStatus &&value)
Definition: CreateDashboardResult.h:164
Aws::QuickSight::Model::CreateDashboardResult::WithRequestId
CreateDashboardResult & WithRequestId(const char *value)
Definition: CreateDashboardResult.h:226
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateDashboardResult::SetVersionArn
void SetVersionArn(const char *value)
Definition: CreateDashboardResult.h:94
Aws::QuickSight::Model::CreateDashboardResult::GetStatus
int GetStatus() const
Definition: CreateDashboardResult.h:180
Aws::QuickSight::Model::CreateDashboardResult::GetArn
const Aws::String & GetArn() const
Definition: CreateDashboardResult.h:39
Aws::QuickSight::Model::CreateDashboardResult::WithDashboardId
CreateDashboardResult & WithDashboardId(const char *value)
Definition: CreateDashboardResult.h:148
Aws::QuickSight::Model::CreateDashboardResult::SetStatus
void SetStatus(int value)
Definition: CreateDashboardResult.h:185
Aws::QuickSight::Model::CreateDashboardResult::WithArn
CreateDashboardResult & WithArn(const char *value)
Definition: CreateDashboardResult.h:69
Aws::QuickSight::Model::CreateDashboardResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateDashboardResult.h:44
Aws::QuickSight::Model::CreateDashboardResult::SetDashboardId
void SetDashboardId(const Aws::String &value)
Definition: CreateDashboardResult.h:123
Aws::QuickSight::Model::CreateDashboardResult::WithDashboardId
CreateDashboardResult & WithDashboardId(Aws::String &&value)
Definition: CreateDashboardResult.h:143
Aws::QuickSight::Model::CreateDashboardResult::WithVersionArn
CreateDashboardResult & WithVersionArn(const char *value)
Definition: CreateDashboardResult.h:112
Aws::QuickSight::Model::CreateDashboardResult
Definition: CreateDashboardResult.h:29
Aws::QuickSight::Model::CreateDashboardResult::SetDashboardId
void SetDashboardId(Aws::String &&value)
Definition: CreateDashboardResult.h:128
Aws::QuickSight::Model::CreateDashboardResult::WithCreationStatus
CreateDashboardResult & WithCreationStatus(ResourceStatus &&value)
Definition: CreateDashboardResult.h:174
Aws::QuickSight::Model::CreateDashboardResult::CreateDashboardResult
CreateDashboardResult()
Aws::QuickSight::Model::CreateDashboardResult::WithCreationStatus
CreateDashboardResult & WithCreationStatus(const ResourceStatus &value)
Definition: CreateDashboardResult.h:169
Aws::QuickSight::Model::CreateDashboardResult::SetVersionArn
void SetVersionArn(Aws::String &&value)
Definition: CreateDashboardResult.h:88
Aws::QuickSight::Model::CreateDashboardResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: CreateDashboardResult.h:201
Aws::QuickSight::Model::CreateDashboardResult::WithArn
CreateDashboardResult & WithArn(const Aws::String &value)
Definition: CreateDashboardResult.h:59
Aws::QuickSight::Model::CreateDashboardResult::GetVersionArn
const Aws::String & GetVersionArn() const
Definition: CreateDashboardResult.h:76
Aws::QuickSight::Model::CreateDashboardResult::SetArn
void SetArn(const char *value)
Definition: CreateDashboardResult.h:54
AWSString.h
Aws::QuickSight::Model::CreateDashboardResult::SetRequestId
void SetRequestId(const char *value)
Definition: CreateDashboardResult.h:211
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::CreateDashboardResult::WithVersionArn
CreateDashboardResult & WithVersionArn(const Aws::String &value)
Definition: CreateDashboardResult.h:100
Aws::QuickSight::Model::CreateDashboardResult::SetVersionArn
void SetVersionArn(const Aws::String &value)
Definition: CreateDashboardResult.h:82
Aws::QuickSight::Model::CreateDashboardResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateDashboardResult.h:49
Aws::QuickSight::Model::CreateDashboardResult::SetDashboardId
void SetDashboardId(const char *value)
Definition: CreateDashboardResult.h:133
Aws::QuickSight::Model::CreateDashboardResult::WithRequestId
CreateDashboardResult & WithRequestId(Aws::String &&value)
Definition: CreateDashboardResult.h:221
Aws::QuickSight::Model::CreateDashboardResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: CreateDashboardResult.h:206
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::QuickSight::Model::CreateDashboardResult::GetCreationStatus
const ResourceStatus & GetCreationStatus() const
Definition: CreateDashboardResult.h:154
Aws::QuickSight::Model::CreateDashboardResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: CreateDashboardResult.h:196
Aws::QuickSight::Model::CreateDashboardResult::SetCreationStatus
void SetCreationStatus(const ResourceStatus &value)
Definition: CreateDashboardResult.h:159
Aws::QuickSight::Model::CreateDashboardResult::WithVersionArn
CreateDashboardResult & WithVersionArn(Aws::String &&value)
Definition: CreateDashboardResult.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateDashboardResult::WithRequestId
CreateDashboardResult & WithRequestId(const Aws::String &value)
Definition: CreateDashboardResult.h:216
Aws::QuickSight::Model::CreateDashboardResult::GetDashboardId
const Aws::String & GetDashboardId() const
Definition: CreateDashboardResult.h:118
Aws::QuickSight::Model::CreateDashboardResult::WithArn
CreateDashboardResult & WithArn(Aws::String &&value)
Definition: CreateDashboardResult.h:64
Aws::QuickSight::Model::CreateDashboardResult::WithDashboardId
CreateDashboardResult & WithDashboardId(const Aws::String &value)
Definition: CreateDashboardResult.h:138
Aws::QuickSight::Model::CreateDashboardResult::WithStatus
CreateDashboardResult & WithStatus(int value)
Definition: CreateDashboardResult.h:190
Aws::QuickSight::Model::CreateDashboardResult::CreateDashboardResult
CreateDashboardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)