AWS SDK for C++  1.9.160
AWS SDK for C++
TagResourceResult.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 TagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
59 
63  inline TagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 
68  inline TagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 
70 
74  inline int GetStatus() const{ return m_status; }
75 
79  inline void SetStatus(int value) { m_status = value; }
80 
84  inline TagResourceResult& WithStatus(int value) { SetStatus(value); return *this;}
85 
86  private:
87 
88  Aws::String m_requestId;
89 
90  int m_status;
91  };
92 
93 } // namespace Model
94 } // namespace QuickSight
95 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::TagResourceResult::WithRequestId
TagResourceResult & WithRequestId(Aws::String &&value)
Definition: TagResourceResult.h:63
Aws::QuickSight::Model::TagResourceResult::operator=
TagResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::TagResourceResult::TagResourceResult
TagResourceResult()
Aws::QuickSight::Model::TagResourceResult::SetRequestId
void SetRequestId(const char *value)
Definition: TagResourceResult.h:53
Aws::QuickSight::Model::TagResourceResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: TagResourceResult.h:48
Aws::QuickSight::Model::TagResourceResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: TagResourceResult.h:38
Aws::QuickSight::Model::TagResourceResult::TagResourceResult
TagResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::TagResourceResult::WithRequestId
TagResourceResult & WithRequestId(const char *value)
Definition: TagResourceResult.h:68
AWSString.h
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::TagResourceResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: TagResourceResult.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::TagResourceResult
Definition: TagResourceResult.h:28
Aws::QuickSight::Model::TagResourceResult::SetStatus
void SetStatus(int value)
Definition: TagResourceResult.h:79
Aws::QuickSight::Model::TagResourceResult::GetStatus
int GetStatus() const
Definition: TagResourceResult.h:74
Aws::QuickSight::Model::TagResourceResult::WithRequestId
TagResourceResult & WithRequestId(const Aws::String &value)
Definition: TagResourceResult.h:58
Aws::QuickSight::Model::TagResourceResult::WithStatus
TagResourceResult & WithStatus(int value)
Definition: TagResourceResult.h:84