AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
45 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
46 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
47 inline RegisterComputeRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
48 inline RegisterComputeRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
49 inline RegisterComputeRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
51
53
56 inline const Aws::String& GetComputeName() const{ return m_computeName; }
57 inline bool ComputeNameHasBeenSet() const { return m_computeNameHasBeenSet; }
58 inline void SetComputeName(const Aws::String& value) { m_computeNameHasBeenSet = true; m_computeName = value; }
59 inline void SetComputeName(Aws::String&& value) { m_computeNameHasBeenSet = true; m_computeName = std::move(value); }
60 inline void SetComputeName(const char* value) { m_computeNameHasBeenSet = true; m_computeName.assign(value); }
61 inline RegisterComputeRequest& WithComputeName(const Aws::String& value) { SetComputeName(value); return *this;}
62 inline RegisterComputeRequest& WithComputeName(Aws::String&& value) { SetComputeName(std::move(value)); return *this;}
63 inline RegisterComputeRequest& WithComputeName(const char* value) { SetComputeName(value); return *this;}
65
67
71 inline const Aws::String& GetCertificatePath() const{ return m_certificatePath; }
72 inline bool CertificatePathHasBeenSet() const { return m_certificatePathHasBeenSet; }
73 inline void SetCertificatePath(const Aws::String& value) { m_certificatePathHasBeenSet = true; m_certificatePath = value; }
74 inline void SetCertificatePath(Aws::String&& value) { m_certificatePathHasBeenSet = true; m_certificatePath = std::move(value); }
75 inline void SetCertificatePath(const char* value) { m_certificatePathHasBeenSet = true; m_certificatePath.assign(value); }
76 inline RegisterComputeRequest& WithCertificatePath(const Aws::String& value) { SetCertificatePath(value); return *this;}
77 inline RegisterComputeRequest& WithCertificatePath(Aws::String&& value) { SetCertificatePath(std::move(value)); return *this;}
78 inline RegisterComputeRequest& WithCertificatePath(const char* value) { SetCertificatePath(value); return *this;}
80
82
86 inline const Aws::String& GetDnsName() const{ return m_dnsName; }
87 inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
88 inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; }
89 inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); }
90 inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); }
91 inline RegisterComputeRequest& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
92 inline RegisterComputeRequest& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
93 inline RegisterComputeRequest& WithDnsName(const char* value) { SetDnsName(value); return *this;}
95
97
102 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
103 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
104 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
105 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
106 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
107 inline RegisterComputeRequest& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
108 inline RegisterComputeRequest& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
109 inline RegisterComputeRequest& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
111
113
118 inline const Aws::String& GetLocation() const{ return m_location; }
119 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
120 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
121 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
122 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
123 inline RegisterComputeRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
124 inline RegisterComputeRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
125 inline RegisterComputeRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
127 private:
128
129 Aws::String m_fleetId;
130 bool m_fleetIdHasBeenSet = false;
131
132 Aws::String m_computeName;
133 bool m_computeNameHasBeenSet = false;
134
135 Aws::String m_certificatePath;
136 bool m_certificatePathHasBeenSet = false;
137
138 Aws::String m_dnsName;
139 bool m_dnsNameHasBeenSet = false;
140
141 Aws::String m_ipAddress;
142 bool m_ipAddressHasBeenSet = false;
143
144 Aws::String m_location;
145 bool m_locationHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace GameLift
150} // namespace Aws
RegisterComputeRequest & WithComputeName(const char *value)
RegisterComputeRequest & WithLocation(const Aws::String &value)
RegisterComputeRequest & WithIpAddress(Aws::String &&value)
RegisterComputeRequest & WithFleetId(Aws::String &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RegisterComputeRequest & WithDnsName(const Aws::String &value)
RegisterComputeRequest & WithIpAddress(const char *value)
RegisterComputeRequest & WithComputeName(Aws::String &&value)
RegisterComputeRequest & WithCertificatePath(const Aws::String &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
RegisterComputeRequest & WithCertificatePath(Aws::String &&value)
RegisterComputeRequest & WithLocation(const char *value)
RegisterComputeRequest & WithCertificatePath(const char *value)
RegisterComputeRequest & WithDnsName(Aws::String &&value)
RegisterComputeRequest & WithIpAddress(const Aws::String &value)
RegisterComputeRequest & WithFleetId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
RegisterComputeRequest & WithComputeName(const Aws::String &value)
RegisterComputeRequest & WithFleetId(const char *value)
RegisterComputeRequest & WithDnsName(const char *value)
RegisterComputeRequest & WithLocation(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String