AWS SDK for C++  1.9.159
AWS SDK for C++
CreateIpGroupResult.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 WorkSpaces
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetGroupId() const{ return m_groupId; }
39 
43  inline void SetGroupId(const Aws::String& value) { m_groupId = value; }
44 
48  inline void SetGroupId(Aws::String&& value) { m_groupId = std::move(value); }
49 
53  inline void SetGroupId(const char* value) { m_groupId.assign(value); }
54 
58  inline CreateIpGroupResult& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
59 
63  inline CreateIpGroupResult& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
64 
68  inline CreateIpGroupResult& WithGroupId(const char* value) { SetGroupId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_groupId;
73  };
74 
75 } // namespace Model
76 } // namespace WorkSpaces
77 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkSpaces::Model::CreateIpGroupResult
Definition: CreateIpGroupResult.h:28
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::CreateIpGroupResult::CreateIpGroupResult
CreateIpGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkSpaces::Model::CreateIpGroupResult::GetGroupId
const Aws::String & GetGroupId() const
Definition: CreateIpGroupResult.h:38
Aws::WorkSpaces::Model::CreateIpGroupResult::CreateIpGroupResult
CreateIpGroupResult()
Aws::WorkSpaces::Model::CreateIpGroupResult::SetGroupId
void SetGroupId(const char *value)
Definition: CreateIpGroupResult.h:53
Aws::WorkSpaces::Model::CreateIpGroupResult::WithGroupId
CreateIpGroupResult & WithGroupId(Aws::String &&value)
Definition: CreateIpGroupResult.h:63
Aws::WorkSpaces::Model::CreateIpGroupResult::WithGroupId
CreateIpGroupResult & WithGroupId(const Aws::String &value)
Definition: CreateIpGroupResult.h:58
AWSString.h
Aws::WorkSpaces::Model::CreateIpGroupResult::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: CreateIpGroupResult.h:48
Aws::WorkSpaces::Model::CreateIpGroupResult::WithGroupId
CreateIpGroupResult & WithGroupId(const char *value)
Definition: CreateIpGroupResult.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::CreateIpGroupResult::operator=
CreateIpGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkSpaces::Model::CreateIpGroupResult::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: CreateIpGroupResult.h:43