AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateBuildRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateBuild"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetBuildId() const{ return m_buildId; }
45 
50  inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
51 
56  inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
57 
62  inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
63 
68  inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
69 
74  inline UpdateBuildRequest& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
75 
80  inline UpdateBuildRequest& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
81 
86  inline UpdateBuildRequest& WithBuildId(const char* value) { SetBuildId(value); return *this;}
87 
88 
93  inline const Aws::String& GetName() const{ return m_name; }
94 
99  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 
105  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 
111  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
112 
117  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
118 
123  inline UpdateBuildRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
124 
129  inline UpdateBuildRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
130 
135  inline UpdateBuildRequest& WithName(const char* value) { SetName(value); return *this;}
136 
137 
142  inline const Aws::String& GetVersion() const{ return m_version; }
143 
148  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
149 
154  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
155 
160  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
161 
166  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
167 
172  inline UpdateBuildRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
173 
178  inline UpdateBuildRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
179 
184  inline UpdateBuildRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
185 
186  private:
187 
188  Aws::String m_buildId;
189  bool m_buildIdHasBeenSet;
190 
191  Aws::String m_name;
192  bool m_nameHasBeenSet;
193 
194  Aws::String m_version;
195  bool m_versionHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace GameLift
200 } // namespace Aws
Aws::GameLift::Model::UpdateBuildRequest::SetBuildId
void SetBuildId(const Aws::String &value)
Definition: UpdateBuildRequest.h:56
Aws::GameLift::Model::UpdateBuildRequest::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: UpdateBuildRequest.h:148
Aws::GameLift::Model::UpdateBuildRequest::GetName
const Aws::String & GetName() const
Definition: UpdateBuildRequest.h:93
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::UpdateBuildRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateBuildRequest.h:99
Aws::GameLift::Model::UpdateBuildRequest::BuildIdHasBeenSet
bool BuildIdHasBeenSet() const
Definition: UpdateBuildRequest.h:50
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UpdateBuildRequest::WithVersion
UpdateBuildRequest & WithVersion(const char *value)
Definition: UpdateBuildRequest.h:184
Aws::GameLift::Model::UpdateBuildRequest
Definition: UpdateBuildRequest.h:25
Aws::GameLift::Model::UpdateBuildRequest::SetName
void SetName(const char *value)
Definition: UpdateBuildRequest.h:117
Aws::GameLift::Model::UpdateBuildRequest::SetBuildId
void SetBuildId(const char *value)
Definition: UpdateBuildRequest.h:68
Aws::GameLift::Model::UpdateBuildRequest::WithBuildId
UpdateBuildRequest & WithBuildId(const char *value)
Definition: UpdateBuildRequest.h:86
Aws::GameLift::Model::UpdateBuildRequest::SetVersion
void SetVersion(const char *value)
Definition: UpdateBuildRequest.h:166
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::UpdateBuildRequest::WithName
UpdateBuildRequest & WithName(const char *value)
Definition: UpdateBuildRequest.h:135
Aws::GameLift::Model::UpdateBuildRequest::SetVersion
void SetVersion(const Aws::String &value)
Definition: UpdateBuildRequest.h:154
Aws::GameLift::Model::UpdateBuildRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateBuildRequest.h:105
Aws::GameLift::Model::UpdateBuildRequest::WithBuildId
UpdateBuildRequest & WithBuildId(Aws::String &&value)
Definition: UpdateBuildRequest.h:80
Aws::GameLift::Model::UpdateBuildRequest::GetVersion
const Aws::String & GetVersion() const
Definition: UpdateBuildRequest.h:142
Aws::GameLift::Model::UpdateBuildRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateBuildRequest.h:111
Aws::GameLift::Model::UpdateBuildRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateBuildRequest.h:33
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::UpdateBuildRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::GameLift::Model::UpdateBuildRequest::WithBuildId
UpdateBuildRequest & WithBuildId(const Aws::String &value)
Definition: UpdateBuildRequest.h:74
Aws::GameLift::Model::UpdateBuildRequest::WithVersion
UpdateBuildRequest & WithVersion(const Aws::String &value)
Definition: UpdateBuildRequest.h:172
Aws::GameLift::Model::UpdateBuildRequest::SetBuildId
void SetBuildId(Aws::String &&value)
Definition: UpdateBuildRequest.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::UpdateBuildRequest::WithVersion
UpdateBuildRequest & WithVersion(Aws::String &&value)
Definition: UpdateBuildRequest.h:178
Aws::GameLift::Model::UpdateBuildRequest::SetVersion
void SetVersion(Aws::String &&value)
Definition: UpdateBuildRequest.h:160
Aws::GameLift::Model::UpdateBuildRequest::UpdateBuildRequest
UpdateBuildRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::UpdateBuildRequest::GetBuildId
const Aws::String & GetBuildId() const
Definition: UpdateBuildRequest.h:44
Aws::GameLift::Model::UpdateBuildRequest::WithName
UpdateBuildRequest & WithName(const Aws::String &value)
Definition: UpdateBuildRequest.h:123
Aws::GameLift::Model::UpdateBuildRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::UpdateBuildRequest::WithName
UpdateBuildRequest & WithName(Aws::String &&value)
Definition: UpdateBuildRequest.h:129