AWS SDK for C++  1.9.160
AWS SDK for C++
CreateGroupResult.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 {
34  {
35  public:
39 
40 
44  inline const Group& GetGroup() const{ return m_group; }
45 
49  inline void SetGroup(const Group& value) { m_group = value; }
50 
54  inline void SetGroup(Group&& value) { m_group = std::move(value); }
55 
59  inline CreateGroupResult& WithGroup(const Group& value) { SetGroup(value); return *this;}
60 
64  inline CreateGroupResult& WithGroup(Group&& value) { SetGroup(std::move(value)); return *this;}
65 
66 
70  inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 
75  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 
80  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 
85  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 
90  inline CreateGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 
95  inline CreateGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 
100  inline CreateGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 
102 
106  inline int GetStatus() const{ return m_status; }
107 
111  inline void SetStatus(int value) { m_status = value; }
112 
116  inline CreateGroupResult& WithStatus(int value) { SetStatus(value); return *this;}
117 
118  private:
119 
120  Group m_group;
121 
122  Aws::String m_requestId;
123 
124  int m_status;
125  };
126 
127 } // namespace Model
128 } // namespace QuickSight
129 } // namespace Aws
Aws::QuickSight::Model::CreateGroupResult::WithGroup
CreateGroupResult & WithGroup(Group &&value)
Definition: CreateGroupResult.h:64
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateGroupResult::WithStatus
CreateGroupResult & WithStatus(int value)
Definition: CreateGroupResult.h:116
Aws::QuickSight::Model::CreateGroupResult::GetStatus
int GetStatus() const
Definition: CreateGroupResult.h:106
Aws::QuickSight::Model::CreateGroupResult::operator=
CreateGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateGroupResult::GetGroup
const Group & GetGroup() const
Definition: CreateGroupResult.h:44
Aws::QuickSight::Model::CreateGroupResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: CreateGroupResult.h:75
Aws::QuickSight::Model::CreateGroupResult::WithRequestId
CreateGroupResult & WithRequestId(const Aws::String &value)
Definition: CreateGroupResult.h:90
Aws::QuickSight::Model::CreateGroupResult::WithGroup
CreateGroupResult & WithGroup(const Group &value)
Definition: CreateGroupResult.h:59
Aws::QuickSight::Model::CreateGroupResult
Definition: CreateGroupResult.h:34
Aws::QuickSight::Model::CreateGroupResult::WithRequestId
CreateGroupResult & WithRequestId(const char *value)
Definition: CreateGroupResult.h:100
Aws::QuickSight::Model::CreateGroupResult::WithRequestId
CreateGroupResult & WithRequestId(Aws::String &&value)
Definition: CreateGroupResult.h:95
Aws::QuickSight::Model::CreateGroupResult::SetGroup
void SetGroup(const Group &value)
Definition: CreateGroupResult.h:49
Aws::QuickSight::Model::CreateGroupResult::SetGroup
void SetGroup(Group &&value)
Definition: CreateGroupResult.h:54
Aws::QuickSight::Model::CreateGroupResult::CreateGroupResult
CreateGroupResult()
Aws::QuickSight::Model::CreateGroupResult::SetRequestId
void SetRequestId(const char *value)
Definition: CreateGroupResult.h:85
Aws::QuickSight::Model::CreateGroupResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: CreateGroupResult.h:80
AWSString.h
Aws::QuickSight::Model::CreateGroupResult::CreateGroupResult
CreateGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateGroupResult::SetStatus
void SetStatus(int value)
Definition: CreateGroupResult.h:111
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::Group
Definition: Group.h:34
Aws::QuickSight::Model::CreateGroupResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: CreateGroupResult.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Group.h