AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAliasRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/model/RoutingStrategy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API UpdateAliasRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAlias"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetAliasId() const{ return m_aliasId; }
44 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
45 inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
46 inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
47 inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
48 inline UpdateAliasRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
49 inline UpdateAliasRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
50 inline UpdateAliasRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
52
54
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline UpdateAliasRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline UpdateAliasRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline UpdateAliasRequest& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline UpdateAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline UpdateAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline UpdateAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
87 inline const RoutingStrategy& GetRoutingStrategy() const{ return m_routingStrategy; }
88 inline bool RoutingStrategyHasBeenSet() const { return m_routingStrategyHasBeenSet; }
89 inline void SetRoutingStrategy(const RoutingStrategy& value) { m_routingStrategyHasBeenSet = true; m_routingStrategy = value; }
90 inline void SetRoutingStrategy(RoutingStrategy&& value) { m_routingStrategyHasBeenSet = true; m_routingStrategy = std::move(value); }
91 inline UpdateAliasRequest& WithRoutingStrategy(const RoutingStrategy& value) { SetRoutingStrategy(value); return *this;}
92 inline UpdateAliasRequest& WithRoutingStrategy(RoutingStrategy&& value) { SetRoutingStrategy(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_aliasId;
97 bool m_aliasIdHasBeenSet = false;
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104
105 RoutingStrategy m_routingStrategy;
106 bool m_routingStrategyHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace GameLift
111} // namespace Aws
const RoutingStrategy & GetRoutingStrategy() const
UpdateAliasRequest & WithName(Aws::String &&value)
UpdateAliasRequest & WithName(const char *value)
UpdateAliasRequest & WithRoutingStrategy(RoutingStrategy &&value)
void SetDescription(const Aws::String &value)
UpdateAliasRequest & WithDescription(const Aws::String &value)
UpdateAliasRequest & WithRoutingStrategy(const RoutingStrategy &value)
void SetName(const Aws::String &value)
UpdateAliasRequest & WithDescription(Aws::String &&value)
void SetAliasId(const Aws::String &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
UpdateAliasRequest & WithAliasId(const Aws::String &value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRoutingStrategy(const RoutingStrategy &value)
UpdateAliasRequest & WithDescription(const char *value)
const Aws::String & GetDescription() const
UpdateAliasRequest & WithAliasId(const char *value)
void SetRoutingStrategy(RoutingStrategy &&value)
virtual const char * GetServiceRequestName() const override
UpdateAliasRequest & WithName(const Aws::String &value)
UpdateAliasRequest & WithAliasId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String