AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RegisterComputeRequest.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 RegisterComputeRequest() = default;
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 "RegisterCompute"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetFleetId() const { return m_fleetId; }
43 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
44 template<typename FleetIdT = Aws::String>
45 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::forward<FleetIdT>(value); }
46 template<typename FleetIdT = Aws::String>
47 RegisterComputeRequest& WithFleetId(FleetIdT&& value) { SetFleetId(std::forward<FleetIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetComputeName() const { return m_computeName; }
55 inline bool ComputeNameHasBeenSet() const { return m_computeNameHasBeenSet; }
56 template<typename ComputeNameT = Aws::String>
57 void SetComputeName(ComputeNameT&& value) { m_computeNameHasBeenSet = true; m_computeName = std::forward<ComputeNameT>(value); }
58 template<typename ComputeNameT = Aws::String>
59 RegisterComputeRequest& WithComputeName(ComputeNameT&& value) { SetComputeName(std::forward<ComputeNameT>(value)); return *this;}
61
63
67 inline const Aws::String& GetCertificatePath() const { return m_certificatePath; }
68 inline bool CertificatePathHasBeenSet() const { return m_certificatePathHasBeenSet; }
69 template<typename CertificatePathT = Aws::String>
70 void SetCertificatePath(CertificatePathT&& value) { m_certificatePathHasBeenSet = true; m_certificatePath = std::forward<CertificatePathT>(value); }
71 template<typename CertificatePathT = Aws::String>
72 RegisterComputeRequest& WithCertificatePath(CertificatePathT&& value) { SetCertificatePath(std::forward<CertificatePathT>(value)); return *this;}
74
76
80 inline const Aws::String& GetDnsName() const { return m_dnsName; }
81 inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
82 template<typename DnsNameT = Aws::String>
83 void SetDnsName(DnsNameT&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::forward<DnsNameT>(value); }
84 template<typename DnsNameT = Aws::String>
85 RegisterComputeRequest& WithDnsName(DnsNameT&& value) { SetDnsName(std::forward<DnsNameT>(value)); return *this;}
87
89
94 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
95 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
96 template<typename IpAddressT = Aws::String>
97 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
98 template<typename IpAddressT = Aws::String>
99 RegisterComputeRequest& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
101
103
108 inline const Aws::String& GetLocation() const { return m_location; }
109 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
110 template<typename LocationT = Aws::String>
111 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
112 template<typename LocationT = Aws::String>
113 RegisterComputeRequest& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
115 private:
116
117 Aws::String m_fleetId;
118 bool m_fleetIdHasBeenSet = false;
119
120 Aws::String m_computeName;
121 bool m_computeNameHasBeenSet = false;
122
123 Aws::String m_certificatePath;
124 bool m_certificatePathHasBeenSet = false;
125
126 Aws::String m_dnsName;
127 bool m_dnsNameHasBeenSet = false;
128
129 Aws::String m_ipAddress;
130 bool m_ipAddressHasBeenSet = false;
131
132 Aws::String m_location;
133 bool m_locationHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace GameLift
138} // 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