AWS SDK for C++  1.9.15
AWS SDK for C++
UpdateAliasRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GameLift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateAlias"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetAliasId() const{ return m_aliasId; }
46 
51  inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
52 
57  inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
58 
63  inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
64 
69  inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
70 
75  inline UpdateAliasRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
76 
81  inline UpdateAliasRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
82 
87  inline UpdateAliasRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
88 
89 
94  inline const Aws::String& GetName() const{ return m_name; }
95 
100  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 
106  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
107 
112  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
113 
118  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
119 
124  inline UpdateAliasRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
125 
130  inline UpdateAliasRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
131 
136  inline UpdateAliasRequest& WithName(const char* value) { SetName(value); return *this;}
137 
138 
142  inline const Aws::String& GetDescription() const{ return m_description; }
143 
147  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
148 
152  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
153 
157  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
158 
162  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
163 
167  inline UpdateAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
168 
172  inline UpdateAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
173 
177  inline UpdateAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
178 
179 
184  inline const RoutingStrategy& GetRoutingStrategy() const{ return m_routingStrategy; }
185 
190  inline bool RoutingStrategyHasBeenSet() const { return m_routingStrategyHasBeenSet; }
191 
196  inline void SetRoutingStrategy(const RoutingStrategy& value) { m_routingStrategyHasBeenSet = true; m_routingStrategy = value; }
197 
202  inline void SetRoutingStrategy(RoutingStrategy&& value) { m_routingStrategyHasBeenSet = true; m_routingStrategy = std::move(value); }
203 
208  inline UpdateAliasRequest& WithRoutingStrategy(const RoutingStrategy& value) { SetRoutingStrategy(value); return *this;}
209 
214  inline UpdateAliasRequest& WithRoutingStrategy(RoutingStrategy&& value) { SetRoutingStrategy(std::move(value)); return *this;}
215 
216  private:
217 
218  Aws::String m_aliasId;
219  bool m_aliasIdHasBeenSet;
220 
221  Aws::String m_name;
222  bool m_nameHasBeenSet;
223 
224  Aws::String m_description;
225  bool m_descriptionHasBeenSet;
226 
227  RoutingStrategy m_routingStrategy;
228  bool m_routingStrategyHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace GameLift
233 } // namespace Aws
Aws::GameLift::Model::UpdateAliasRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateAliasRequest.h:157
Aws::GameLift::Model::UpdateAliasRequest::WithName
UpdateAliasRequest & WithName(const char *value)
Definition: UpdateAliasRequest.h:136
Aws::GameLift::Model::UpdateAliasRequest::WithAliasId
UpdateAliasRequest & WithAliasId(const char *value)
Definition: UpdateAliasRequest.h:87
Aws::GameLift::Model::UpdateAliasRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateAliasRequest.h:112
Aws::GameLift::Model::RoutingStrategy
Definition: RoutingStrategy.h:37
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::UpdateAliasRequest::WithAliasId
UpdateAliasRequest & WithAliasId(Aws::String &&value)
Definition: UpdateAliasRequest.h:81
Aws::GameLift::Model::UpdateAliasRequest::WithDescription
UpdateAliasRequest & WithDescription(Aws::String &&value)
Definition: UpdateAliasRequest.h:172
Aws::GameLift::Model::UpdateAliasRequest::WithRoutingStrategy
UpdateAliasRequest & WithRoutingStrategy(const RoutingStrategy &value)
Definition: UpdateAliasRequest.h:208
Aws::GameLift::Model::UpdateAliasRequest::WithDescription
UpdateAliasRequest & WithDescription(const Aws::String &value)
Definition: UpdateAliasRequest.h:167
Aws::GameLift::Model::UpdateAliasRequest::GetAliasId
const Aws::String & GetAliasId() const
Definition: UpdateAliasRequest.h:45
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UpdateAliasRequest::WithAliasId
UpdateAliasRequest & WithAliasId(const Aws::String &value)
Definition: UpdateAliasRequest.h:75
Aws::GameLift::Model::UpdateAliasRequest::SetRoutingStrategy
void SetRoutingStrategy(const RoutingStrategy &value)
Definition: UpdateAliasRequest.h:196
Aws::GameLift::Model::UpdateAliasRequest::RoutingStrategyHasBeenSet
bool RoutingStrategyHasBeenSet() const
Definition: UpdateAliasRequest.h:190
Aws::GameLift::Model::UpdateAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAliasRequest.h:34
Aws::GameLift::Model::UpdateAliasRequest::SetRoutingStrategy
void SetRoutingStrategy(RoutingStrategy &&value)
Definition: UpdateAliasRequest.h:202
Aws::GameLift::Model::UpdateAliasRequest::GetRoutingStrategy
const RoutingStrategy & GetRoutingStrategy() const
Definition: UpdateAliasRequest.h:184
RoutingStrategy.h
Aws::GameLift::Model::UpdateAliasRequest::UpdateAliasRequest
UpdateAliasRequest()
GameLift_EXPORTS.h
Aws::GameLift::Model::UpdateAliasRequest::SetAliasId
void SetAliasId(Aws::String &&value)
Definition: UpdateAliasRequest.h:63
Aws::GameLift::Model::UpdateAliasRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GameLiftRequest.h
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::UpdateAliasRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateAliasRequest.h:152
Aws::GameLift::Model::UpdateAliasRequest::AliasIdHasBeenSet
bool AliasIdHasBeenSet() const
Definition: UpdateAliasRequest.h:51
Aws::GameLift::Model::UpdateAliasRequest::WithName
UpdateAliasRequest & WithName(const Aws::String &value)
Definition: UpdateAliasRequest.h:124
Aws::GameLift::Model::UpdateAliasRequest::WithRoutingStrategy
UpdateAliasRequest & WithRoutingStrategy(RoutingStrategy &&value)
Definition: UpdateAliasRequest.h:214
Aws::GameLift::Model::UpdateAliasRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateAliasRequest.h:142
Aws::GameLift::Model::UpdateAliasRequest::SetName
void SetName(const char *value)
Definition: UpdateAliasRequest.h:118
Aws::GameLift::Model::UpdateAliasRequest::GetName
const Aws::String & GetName() const
Definition: UpdateAliasRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::UpdateAliasRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateAliasRequest.h:162
Aws::GameLift::Model::UpdateAliasRequest::SetAliasId
void SetAliasId(const Aws::String &value)
Definition: UpdateAliasRequest.h:57
Aws::GameLift::Model::UpdateAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::UpdateAliasRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateAliasRequest.h:147
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::UpdateAliasRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateAliasRequest.h:100
Aws::GameLift::Model::UpdateAliasRequest::SetAliasId
void SetAliasId(const char *value)
Definition: UpdateAliasRequest.h:69
Aws::GameLift::Model::UpdateAliasRequest::WithName
UpdateAliasRequest & WithName(Aws::String &&value)
Definition: UpdateAliasRequest.h:130
Aws::GameLift::Model::UpdateAliasRequest::WithDescription
UpdateAliasRequest & WithDescription(const char *value)
Definition: UpdateAliasRequest.h:177
Aws::GameLift::Model::UpdateAliasRequest
Definition: UpdateAliasRequest.h:26
Aws::GameLift::Model::UpdateAliasRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateAliasRequest.h:106