AWS SDK for C++  1.9.158
AWS SDK for C++
CreateGroupMembershipResult.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 GroupMember& GetGroupMember() const{ return m_groupMember; }
40 
44  inline void SetGroupMember(const GroupMember& value) { m_groupMember = value; }
45 
49  inline void SetGroupMember(GroupMember&& value) { m_groupMember = std::move(value); }
50 
54  inline CreateGroupMembershipResult& WithGroupMember(const GroupMember& value) { SetGroupMember(value); return *this;}
55 
59  inline CreateGroupMembershipResult& WithGroupMember(GroupMember&& value) { SetGroupMember(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 
70  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 
75  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 
80  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 
85  inline CreateGroupMembershipResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 
90  inline CreateGroupMembershipResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 
95  inline CreateGroupMembershipResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 
97 
101  inline int GetStatus() const{ return m_status; }
102 
106  inline void SetStatus(int value) { m_status = value; }
107 
111  inline CreateGroupMembershipResult& WithStatus(int value) { SetStatus(value); return *this;}
112 
113  private:
114 
115  GroupMember m_groupMember;
116 
117  Aws::String m_requestId;
118 
119  int m_status;
120  };
121 
122 } // namespace Model
123 } // namespace QuickSight
124 } // namespace Aws
Aws::QuickSight::Model::CreateGroupMembershipResult::WithRequestId
CreateGroupMembershipResult & WithRequestId(const Aws::String &value)
Definition: CreateGroupMembershipResult.h:85
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateGroupMembershipResult::WithStatus
CreateGroupMembershipResult & WithStatus(int value)
Definition: CreateGroupMembershipResult.h:111
Aws::QuickSight::Model::CreateGroupMembershipResult::WithGroupMember
CreateGroupMembershipResult & WithGroupMember(GroupMember &&value)
Definition: CreateGroupMembershipResult.h:59
Aws::QuickSight::Model::CreateGroupMembershipResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: CreateGroupMembershipResult.h:75
Aws::QuickSight::Model::CreateGroupMembershipResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: CreateGroupMembershipResult.h:65
Aws::QuickSight::Model::CreateGroupMembershipResult::GetGroupMember
const GroupMember & GetGroupMember() const
Definition: CreateGroupMembershipResult.h:39
Aws::QuickSight::Model::CreateGroupMembershipResult
Definition: CreateGroupMembershipResult.h:29
Aws::QuickSight::Model::CreateGroupMembershipResult::CreateGroupMembershipResult
CreateGroupMembershipResult()
Aws::QuickSight::Model::GroupMember
Definition: GroupMember.h:33
GroupMember.h
Aws::QuickSight::Model::CreateGroupMembershipResult::operator=
CreateGroupMembershipResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateGroupMembershipResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: CreateGroupMembershipResult.h:70
Aws::QuickSight::Model::CreateGroupMembershipResult::SetStatus
void SetStatus(int value)
Definition: CreateGroupMembershipResult.h:106
Aws::QuickSight::Model::CreateGroupMembershipResult::SetGroupMember
void SetGroupMember(const GroupMember &value)
Definition: CreateGroupMembershipResult.h:44
AWSString.h
Aws::QuickSight::Model::CreateGroupMembershipResult::WithGroupMember
CreateGroupMembershipResult & WithGroupMember(const GroupMember &value)
Definition: CreateGroupMembershipResult.h:54
Aws::QuickSight::Model::CreateGroupMembershipResult::SetGroupMember
void SetGroupMember(GroupMember &&value)
Definition: CreateGroupMembershipResult.h:49
Aws::QuickSight::Model::CreateGroupMembershipResult::SetRequestId
void SetRequestId(const char *value)
Definition: CreateGroupMembershipResult.h:80
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::CreateGroupMembershipResult::CreateGroupMembershipResult
CreateGroupMembershipResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::CreateGroupMembershipResult::WithRequestId
CreateGroupMembershipResult & WithRequestId(const char *value)
Definition: CreateGroupMembershipResult.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateGroupMembershipResult::GetStatus
int GetStatus() const
Definition: CreateGroupMembershipResult.h:101
Aws::QuickSight::Model::CreateGroupMembershipResult::WithRequestId
CreateGroupMembershipResult & WithRequestId(Aws::String &&value)
Definition: CreateGroupMembershipResult.h:90