AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBuildRequest.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 <utility>
11
12namespace Aws
13{
14namespace GameLift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GAMELIFT_API UpdateBuildRequest();
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 "UpdateBuild"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetBuildId() const{ return m_buildId; }
43 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
44 inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
45 inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
46 inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
47 inline UpdateBuildRequest& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
48 inline UpdateBuildRequest& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
49 inline UpdateBuildRequest& WithBuildId(const char* value) { SetBuildId(value); return *this;}
51
53
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline UpdateBuildRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdateBuildRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdateBuildRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
72 inline const Aws::String& GetVersion() const{ return m_version; }
73 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
74 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
75 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
76 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
77 inline UpdateBuildRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
78 inline UpdateBuildRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
79 inline UpdateBuildRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
81 private:
82
83 Aws::String m_buildId;
84 bool m_buildIdHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_version;
90 bool m_versionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GameLift
95} // namespace Aws
void SetBuildId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateBuildRequest & WithVersion(Aws::String &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetName(const Aws::String &value)
UpdateBuildRequest & WithBuildId(const Aws::String &value)
void SetVersion(const Aws::String &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
UpdateBuildRequest & WithVersion(const char *value)
UpdateBuildRequest & WithName(const Aws::String &value)
UpdateBuildRequest & WithBuildId(Aws::String &&value)
UpdateBuildRequest & WithBuildId(const char *value)
UpdateBuildRequest & WithName(const char *value)
UpdateBuildRequest & WithName(Aws::String &&value)
UpdateBuildRequest & WithVersion(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String