AWS SDK for C++  1.9.44
AWS SDK for C++
UpdateGatewayGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateGatewayGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetGatewayGroupArn() const{ return m_gatewayGroupArn; }
41 
45  inline bool GatewayGroupArnHasBeenSet() const { return m_gatewayGroupArnHasBeenSet; }
46 
50  inline void SetGatewayGroupArn(const Aws::String& value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn = value; }
51 
55  inline void SetGatewayGroupArn(Aws::String&& value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn = std::move(value); }
56 
60  inline void SetGatewayGroupArn(const char* value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn.assign(value); }
61 
65  inline UpdateGatewayGroupRequest& WithGatewayGroupArn(const Aws::String& value) { SetGatewayGroupArn(value); return *this;}
66 
70  inline UpdateGatewayGroupRequest& WithGatewayGroupArn(Aws::String&& value) { SetGatewayGroupArn(std::move(value)); return *this;}
71 
75  inline UpdateGatewayGroupRequest& WithGatewayGroupArn(const char* value) { SetGatewayGroupArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetName() const{ return m_name; }
82 
86  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 
91  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 
96  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 
101  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 
106  inline UpdateGatewayGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107 
111  inline UpdateGatewayGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 
116  inline UpdateGatewayGroupRequest& WithName(const char* value) { SetName(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline UpdateGatewayGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline UpdateGatewayGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline UpdateGatewayGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159  private:
160 
161  Aws::String m_gatewayGroupArn;
162  bool m_gatewayGroupArnHasBeenSet;
163 
164  Aws::String m_name;
165  bool m_nameHasBeenSet;
166 
167  Aws::String m_description;
168  bool m_descriptionHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace AlexaForBusiness
173 } // namespace Aws
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateGatewayGroupRequest.h:132
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateGatewayGroupRequest.h:137
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithDescription
UpdateGatewayGroupRequest & WithDescription(const Aws::String &value)
Definition: UpdateGatewayGroupRequest.h:147
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithDescription
UpdateGatewayGroupRequest & WithDescription(Aws::String &&value)
Definition: UpdateGatewayGroupRequest.h:152
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateGatewayGroupRequest.h:122
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetName
void SetName(const char *value)
Definition: UpdateGatewayGroupRequest.h:101
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateGatewayGroupRequest.h:96
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetGatewayGroupArn
void SetGatewayGroupArn(const Aws::String &value)
Definition: UpdateGatewayGroupRequest.h:50
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::GatewayGroupArnHasBeenSet
bool GatewayGroupArnHasBeenSet() const
Definition: UpdateGatewayGroupRequest.h:45
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateGatewayGroupRequest.h:86
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest
Definition: UpdateGatewayGroupRequest.h:22
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithDescription
UpdateGatewayGroupRequest & WithDescription(const char *value)
Definition: UpdateGatewayGroupRequest.h:157
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateGatewayGroupRequest.h:91
AWSString.h
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithName
UpdateGatewayGroupRequest & WithName(const char *value)
Definition: UpdateGatewayGroupRequest.h:116
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithGatewayGroupArn
UpdateGatewayGroupRequest & WithGatewayGroupArn(const char *value)
Definition: UpdateGatewayGroupRequest.h:75
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithName
UpdateGatewayGroupRequest & WithName(const Aws::String &value)
Definition: UpdateGatewayGroupRequest.h:106
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateGatewayGroupRequest.h:30
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::UpdateGatewayGroupRequest
UpdateGatewayGroupRequest()
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithName
UpdateGatewayGroupRequest & WithName(Aws::String &&value)
Definition: UpdateGatewayGroupRequest.h:111
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetGatewayGroupArn
void SetGatewayGroupArn(const char *value)
Definition: UpdateGatewayGroupRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::GetGatewayGroupArn
const Aws::String & GetGatewayGroupArn() const
Definition: UpdateGatewayGroupRequest.h:40
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithGatewayGroupArn
UpdateGatewayGroupRequest & WithGatewayGroupArn(Aws::String &&value)
Definition: UpdateGatewayGroupRequest.h:70
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateGatewayGroupRequest.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::GetName
const Aws::String & GetName() const
Definition: UpdateGatewayGroupRequest.h:81
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::WithGatewayGroupArn
UpdateGatewayGroupRequest & WithGatewayGroupArn(const Aws::String &value)
Definition: UpdateGatewayGroupRequest.h:65
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetGatewayGroupArn
void SetGatewayGroupArn(Aws::String &&value)
Definition: UpdateGatewayGroupRequest.h:55
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::UpdateGatewayGroupRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateGatewayGroupRequest.h:142