AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateDashboardResult.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 UpdateDashboardResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline UpdateDashboardResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline UpdateDashboardResult& 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 UpdateDashboardResult& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;}
96 
100  inline UpdateDashboardResult& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;}
101 
105  inline UpdateDashboardResult& WithVersionArn(const char* value) { SetVersionArn(value); return *this;}
106 
107 
111  inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
112 
116  inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; }
117 
121  inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); }
122 
126  inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); }
127 
131  inline UpdateDashboardResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
132 
136  inline UpdateDashboardResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
137 
141  inline UpdateDashboardResult& WithDashboardId(const char* value) { SetDashboardId(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 UpdateDashboardResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;}
163 
167  inline UpdateDashboardResult& 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 UpdateDashboardResult& 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 UpdateDashboardResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
210 
214  inline UpdateDashboardResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
215 
219  inline UpdateDashboardResult& 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_dashboardId;
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
Aws::QuickSight::Model::UpdateDashboardResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UpdateDashboardResult.h:199
Aws::QuickSight::Model::UpdateDashboardResult::WithArn
UpdateDashboardResult & WithArn(Aws::String &&value)
Definition: UpdateDashboardResult.h:64
ResourceStatus.h
Aws::QuickSight::Model::UpdateDashboardResult::UpdateDashboardResult
UpdateDashboardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::UpdateDashboardResult::SetVersionArn
void SetVersionArn(Aws::String &&value)
Definition: UpdateDashboardResult.h:85
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateDashboardResult::GetArn
const Aws::String & GetArn() const
Definition: UpdateDashboardResult.h:39
Aws::QuickSight::Model::UpdateDashboardResult::WithStatus
UpdateDashboardResult & WithStatus(int value)
Definition: UpdateDashboardResult.h:183
Aws::QuickSight::Model::UpdateDashboardResult::WithCreationStatus
UpdateDashboardResult & WithCreationStatus(ResourceStatus &&value)
Definition: UpdateDashboardResult.h:167
Aws::QuickSight::Model::UpdateDashboardResult::SetArn
void SetArn(const char *value)
Definition: UpdateDashboardResult.h:54
Aws::QuickSight::Model::UpdateDashboardResult::WithArn
UpdateDashboardResult & WithArn(const Aws::String &value)
Definition: UpdateDashboardResult.h:59
Aws::QuickSight::Model::UpdateDashboardResult::SetRequestId
void SetRequestId(const char *value)
Definition: UpdateDashboardResult.h:204
Aws::QuickSight::Model::UpdateDashboardResult::SetDashboardId
void SetDashboardId(Aws::String &&value)
Definition: UpdateDashboardResult.h:121
Aws::QuickSight::Model::UpdateDashboardResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UpdateDashboardResult.h:194
Aws::QuickSight::Model::UpdateDashboardResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: UpdateDashboardResult.h:189
Aws::QuickSight::Model::UpdateDashboardResult::SetCreationStatus
void SetCreationStatus(const ResourceStatus &value)
Definition: UpdateDashboardResult.h:152
Aws::QuickSight::Model::UpdateDashboardResult::SetCreationStatus
void SetCreationStatus(ResourceStatus &&value)
Definition: UpdateDashboardResult.h:157
Aws::QuickSight::Model::UpdateDashboardResult::UpdateDashboardResult
UpdateDashboardResult()
Aws::QuickSight::Model::UpdateDashboardResult::GetCreationStatus
const ResourceStatus & GetCreationStatus() const
Definition: UpdateDashboardResult.h:147
Aws::QuickSight::Model::UpdateDashboardResult::WithCreationStatus
UpdateDashboardResult & WithCreationStatus(const ResourceStatus &value)
Definition: UpdateDashboardResult.h:162
Aws::QuickSight::Model::UpdateDashboardResult::SetArn
void SetArn(Aws::String &&value)
Definition: UpdateDashboardResult.h:49
Aws::QuickSight::Model::UpdateDashboardResult::WithRequestId
UpdateDashboardResult & WithRequestId(const char *value)
Definition: UpdateDashboardResult.h:219
Aws::QuickSight::Model::UpdateDashboardResult::WithArn
UpdateDashboardResult & WithArn(const char *value)
Definition: UpdateDashboardResult.h:69
Aws::QuickSight::Model::UpdateDashboardResult::WithVersionArn
UpdateDashboardResult & WithVersionArn(const Aws::String &value)
Definition: UpdateDashboardResult.h:95
Aws::QuickSight::Model::UpdateDashboardResult::SetDashboardId
void SetDashboardId(const char *value)
Definition: UpdateDashboardResult.h:126
Aws::QuickSight::Model::UpdateDashboardResult::SetVersionArn
void SetVersionArn(const Aws::String &value)
Definition: UpdateDashboardResult.h:80
Aws::QuickSight::Model::UpdateDashboardResult::WithDashboardId
UpdateDashboardResult & WithDashboardId(Aws::String &&value)
Definition: UpdateDashboardResult.h:136
AWSString.h
Aws::QuickSight::Model::UpdateDashboardResult::WithDashboardId
UpdateDashboardResult & WithDashboardId(const char *value)
Definition: UpdateDashboardResult.h:141
Aws::QuickSight::Model::UpdateDashboardResult::WithDashboardId
UpdateDashboardResult & WithDashboardId(const Aws::String &value)
Definition: UpdateDashboardResult.h:131
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::UpdateDashboardResult::SetVersionArn
void SetVersionArn(const char *value)
Definition: UpdateDashboardResult.h:90
Aws::QuickSight::Model::UpdateDashboardResult::GetStatus
int GetStatus() const
Definition: UpdateDashboardResult.h:173
Aws::QuickSight::Model::UpdateDashboardResult::SetDashboardId
void SetDashboardId(const Aws::String &value)
Definition: UpdateDashboardResult.h:116
Aws::QuickSight::Model::UpdateDashboardResult::SetArn
void SetArn(const Aws::String &value)
Definition: UpdateDashboardResult.h:44
Aws::QuickSight::Model::UpdateDashboardResult::WithVersionArn
UpdateDashboardResult & WithVersionArn(const char *value)
Definition: UpdateDashboardResult.h:105
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::UpdateDashboardResult::GetDashboardId
const Aws::String & GetDashboardId() const
Definition: UpdateDashboardResult.h:111
Aws::QuickSight::Model::UpdateDashboardResult::operator=
UpdateDashboardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateDashboardResult
Definition: UpdateDashboardResult.h:29
Aws::QuickSight::Model::UpdateDashboardResult::SetStatus
void SetStatus(int value)
Definition: UpdateDashboardResult.h:178
Aws::QuickSight::Model::UpdateDashboardResult::WithRequestId
UpdateDashboardResult & WithRequestId(const Aws::String &value)
Definition: UpdateDashboardResult.h:209
Aws::QuickSight::Model::UpdateDashboardResult::WithRequestId
UpdateDashboardResult & WithRequestId(Aws::String &&value)
Definition: UpdateDashboardResult.h:214
Aws::QuickSight::Model::UpdateDashboardResult::WithVersionArn
UpdateDashboardResult & WithVersionArn(Aws::String &&value)
Definition: UpdateDashboardResult.h:100
Aws::QuickSight::Model::UpdateDashboardResult::GetVersionArn
const Aws::String & GetVersionArn() const
Definition: UpdateDashboardResult.h:75