AWS SDK for C++  1.9.154
AWS SDK for C++
DeleteTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetRequestId() const{ return m_requestId; }
39 
43  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
44 
48  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
49 
53  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
54 
58  inline DeleteTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
59 
63  inline DeleteTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 
68  inline DeleteTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 
70 
74  inline const Aws::String& GetArn() const{ return m_arn; }
75 
79  inline void SetArn(const Aws::String& value) { m_arn = value; }
80 
84  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
85 
89  inline void SetArn(const char* value) { m_arn.assign(value); }
90 
94  inline DeleteTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
95 
99  inline DeleteTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
100 
104  inline DeleteTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
105 
106 
110  inline const Aws::String& GetTemplateId() const{ return m_templateId; }
111 
115  inline void SetTemplateId(const Aws::String& value) { m_templateId = value; }
116 
120  inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); }
121 
125  inline void SetTemplateId(const char* value) { m_templateId.assign(value); }
126 
130  inline DeleteTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
131 
135  inline DeleteTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
136 
140  inline DeleteTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
141 
142 
146  inline int GetStatus() const{ return m_status; }
147 
151  inline void SetStatus(int value) { m_status = value; }
152 
156  inline DeleteTemplateResult& WithStatus(int value) { SetStatus(value); return *this;}
157 
158  private:
159 
160  Aws::String m_requestId;
161 
162  Aws::String m_arn;
163 
164  Aws::String m_templateId;
165 
166  int m_status;
167  };
168 
169 } // namespace Model
170 } // namespace QuickSight
171 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::DeleteTemplateResult::WithRequestId
DeleteTemplateResult & WithRequestId(Aws::String &&value)
Definition: DeleteTemplateResult.h:63
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteTemplateResult::WithArn
DeleteTemplateResult & WithArn(Aws::String &&value)
Definition: DeleteTemplateResult.h:99
Aws::QuickSight::Model::DeleteTemplateResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DeleteTemplateResult.h:48
Aws::QuickSight::Model::DeleteTemplateResult::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: DeleteTemplateResult.h:115
Aws::QuickSight::Model::DeleteTemplateResult::SetRequestId
void SetRequestId(const char *value)
Definition: DeleteTemplateResult.h:53
Aws::QuickSight::Model::DeleteTemplateResult::WithTemplateId
DeleteTemplateResult & WithTemplateId(Aws::String &&value)
Definition: DeleteTemplateResult.h:135
Aws::QuickSight::Model::DeleteTemplateResult::WithArn
DeleteTemplateResult & WithArn(const char *value)
Definition: DeleteTemplateResult.h:104
Aws::QuickSight::Model::DeleteTemplateResult::SetArn
void SetArn(const char *value)
Definition: DeleteTemplateResult.h:89
Aws::QuickSight::Model::DeleteTemplateResult::SetArn
void SetArn(const Aws::String &value)
Definition: DeleteTemplateResult.h:79
Aws::QuickSight::Model::DeleteTemplateResult::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: DeleteTemplateResult.h:110
Aws::QuickSight::Model::DeleteTemplateResult::WithStatus
DeleteTemplateResult & WithStatus(int value)
Definition: DeleteTemplateResult.h:156
Aws::QuickSight::Model::DeleteTemplateResult::WithRequestId
DeleteTemplateResult & WithRequestId(const char *value)
Definition: DeleteTemplateResult.h:68
Aws::QuickSight::Model::DeleteTemplateResult::GetArn
const Aws::String & GetArn() const
Definition: DeleteTemplateResult.h:74
Aws::QuickSight::Model::DeleteTemplateResult::WithTemplateId
DeleteTemplateResult & WithTemplateId(const char *value)
Definition: DeleteTemplateResult.h:140
AWSString.h
Aws::QuickSight::Model::DeleteTemplateResult::SetArn
void SetArn(Aws::String &&value)
Definition: DeleteTemplateResult.h:84
Aws::QuickSight::Model::DeleteTemplateResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DeleteTemplateResult.h:38
Aws::QuickSight::Model::DeleteTemplateResult::WithArn
DeleteTemplateResult & WithArn(const Aws::String &value)
Definition: DeleteTemplateResult.h:94
Aws::QuickSight::Model::DeleteTemplateResult::SetTemplateId
void SetTemplateId(const char *value)
Definition: DeleteTemplateResult.h:125
Aws::QuickSight::Model::DeleteTemplateResult
Definition: DeleteTemplateResult.h:28
Aws::QuickSight::Model::DeleteTemplateResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DeleteTemplateResult.h:43
Aws::QuickSight::Model::DeleteTemplateResult::GetStatus
int GetStatus() const
Definition: DeleteTemplateResult.h:146
Aws::QuickSight::Model::DeleteTemplateResult::WithTemplateId
DeleteTemplateResult & WithTemplateId(const Aws::String &value)
Definition: DeleteTemplateResult.h:130
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::DeleteTemplateResult::operator=
DeleteTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DeleteTemplateResult::DeleteTemplateResult
DeleteTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DeleteTemplateResult::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: DeleteTemplateResult.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteTemplateResult::DeleteTemplateResult
DeleteTemplateResult()
Aws::QuickSight::Model::DeleteTemplateResult::SetStatus
void SetStatus(int value)
Definition: DeleteTemplateResult.h:151
Aws::QuickSight::Model::DeleteTemplateResult::WithRequestId
DeleteTemplateResult & WithRequestId(const Aws::String &value)
Definition: DeleteTemplateResult.h:58