AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
RegisterComputeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GameLift {
15namespace Model {
16
20 public:
21 AWS_GAMELIFT_API RegisterComputeRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RegisterCompute"; }
28
29 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetFleetId() const { return m_fleetId; }
39 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
40 template <typename FleetIdT = Aws::String>
41 void SetFleetId(FleetIdT&& value) {
42 m_fleetIdHasBeenSet = true;
43 m_fleetId = std::forward<FleetIdT>(value);
44 }
45 template <typename FleetIdT = Aws::String>
47 SetFleetId(std::forward<FleetIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetComputeName() const { return m_computeName; }
57 inline bool ComputeNameHasBeenSet() const { return m_computeNameHasBeenSet; }
58 template <typename ComputeNameT = Aws::String>
59 void SetComputeName(ComputeNameT&& value) {
60 m_computeNameHasBeenSet = true;
61 m_computeName = std::forward<ComputeNameT>(value);
62 }
63 template <typename ComputeNameT = Aws::String>
64 RegisterComputeRequest& WithComputeName(ComputeNameT&& value) {
65 SetComputeName(std::forward<ComputeNameT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetCertificatePath() const { return m_certificatePath; }
76 inline bool CertificatePathHasBeenSet() const { return m_certificatePathHasBeenSet; }
77 template <typename CertificatePathT = Aws::String>
78 void SetCertificatePath(CertificatePathT&& value) {
79 m_certificatePathHasBeenSet = true;
80 m_certificatePath = std::forward<CertificatePathT>(value);
81 }
82 template <typename CertificatePathT = Aws::String>
83 RegisterComputeRequest& WithCertificatePath(CertificatePathT&& value) {
84 SetCertificatePath(std::forward<CertificatePathT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetDnsName() const { return m_dnsName; }
95 inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
96 template <typename DnsNameT = Aws::String>
97 void SetDnsName(DnsNameT&& value) {
98 m_dnsNameHasBeenSet = true;
99 m_dnsName = std::forward<DnsNameT>(value);
100 }
101 template <typename DnsNameT = Aws::String>
103 SetDnsName(std::forward<DnsNameT>(value));
104 return *this;
105 }
107
109
114 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
115 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
116 template <typename IpAddressT = Aws::String>
117 void SetIpAddress(IpAddressT&& value) {
118 m_ipAddressHasBeenSet = true;
119 m_ipAddress = std::forward<IpAddressT>(value);
120 }
121 template <typename IpAddressT = Aws::String>
123 SetIpAddress(std::forward<IpAddressT>(value));
124 return *this;
125 }
127
129
134 inline const Aws::String& GetLocation() const { return m_location; }
135 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
136 template <typename LocationT = Aws::String>
137 void SetLocation(LocationT&& value) {
138 m_locationHasBeenSet = true;
139 m_location = std::forward<LocationT>(value);
140 }
141 template <typename LocationT = Aws::String>
143 SetLocation(std::forward<LocationT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_fleetId;
149
150 Aws::String m_computeName;
151
152 Aws::String m_certificatePath;
153
154 Aws::String m_dnsName;
155
156 Aws::String m_ipAddress;
157
158 Aws::String m_location;
159 bool m_fleetIdHasBeenSet = false;
160 bool m_computeNameHasBeenSet = false;
161 bool m_certificatePathHasBeenSet = false;
162 bool m_dnsNameHasBeenSet = false;
163 bool m_ipAddressHasBeenSet = false;
164 bool m_locationHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace GameLift
169} // namespace Aws
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GAMELIFT_API RegisterComputeRequest()=default
RegisterComputeRequest & WithFleetId(FleetIdT &&value)
RegisterComputeRequest & WithLocation(LocationT &&value)
RegisterComputeRequest & WithDnsName(DnsNameT &&value)
RegisterComputeRequest & WithCertificatePath(CertificatePathT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
RegisterComputeRequest & WithIpAddress(IpAddressT &&value)
RegisterComputeRequest & WithComputeName(ComputeNameT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String