AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetComputeAccessResult.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/AwsCredentials.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/gamelift/model/ContainerIdentifier.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GameLift
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GAMELIFT_API GetComputeAccessResult() = default;
36
37
39
42 inline const Aws::String& GetFleetId() const { return m_fleetId; }
43 template<typename FleetIdT = Aws::String>
44 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::forward<FleetIdT>(value); }
45 template<typename FleetIdT = Aws::String>
46 GetComputeAccessResult& WithFleetId(FleetIdT&& value) { SetFleetId(std::forward<FleetIdT>(value)); return *this;}
48
50
57 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
58 template<typename FleetArnT = Aws::String>
59 void SetFleetArn(FleetArnT&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::forward<FleetArnT>(value); }
60 template<typename FleetArnT = Aws::String>
61 GetComputeAccessResult& WithFleetArn(FleetArnT&& value) { SetFleetArn(std::forward<FleetArnT>(value)); return *this;}
63
65
69 inline const Aws::String& GetComputeName() const { return m_computeName; }
70 template<typename ComputeNameT = Aws::String>
71 void SetComputeName(ComputeNameT&& value) { m_computeNameHasBeenSet = true; m_computeName = std::forward<ComputeNameT>(value); }
72 template<typename ComputeNameT = Aws::String>
73 GetComputeAccessResult& WithComputeName(ComputeNameT&& value) { SetComputeName(std::forward<ComputeNameT>(value)); return *this;}
75
77
84 inline const Aws::String& GetComputeArn() const { return m_computeArn; }
85 template<typename ComputeArnT = Aws::String>
86 void SetComputeArn(ComputeArnT&& value) { m_computeArnHasBeenSet = true; m_computeArn = std::forward<ComputeArnT>(value); }
87 template<typename ComputeArnT = Aws::String>
88 GetComputeAccessResult& WithComputeArn(ComputeArnT&& value) { SetComputeArn(std::forward<ComputeArnT>(value)); return *this;}
90
92
96 inline const AwsCredentials& GetCredentials() const { return m_credentials; }
97 template<typename CredentialsT = AwsCredentials>
98 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet = true; m_credentials = std::forward<CredentialsT>(value); }
99 template<typename CredentialsT = AwsCredentials>
100 GetComputeAccessResult& WithCredentials(CredentialsT&& value) { SetCredentials(std::forward<CredentialsT>(value)); return *this;}
102
104
107 inline const Aws::String& GetTarget() const { return m_target; }
108 template<typename TargetT = Aws::String>
109 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
110 template<typename TargetT = Aws::String>
111 GetComputeAccessResult& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
113
115
120 inline const Aws::Vector<ContainerIdentifier>& GetContainerIdentifiers() const { return m_containerIdentifiers; }
121 template<typename ContainerIdentifiersT = Aws::Vector<ContainerIdentifier>>
122 void SetContainerIdentifiers(ContainerIdentifiersT&& value) { m_containerIdentifiersHasBeenSet = true; m_containerIdentifiers = std::forward<ContainerIdentifiersT>(value); }
123 template<typename ContainerIdentifiersT = Aws::Vector<ContainerIdentifier>>
124 GetComputeAccessResult& WithContainerIdentifiers(ContainerIdentifiersT&& value) { SetContainerIdentifiers(std::forward<ContainerIdentifiersT>(value)); return *this;}
125 template<typename ContainerIdentifiersT = ContainerIdentifier>
126 GetComputeAccessResult& AddContainerIdentifiers(ContainerIdentifiersT&& value) { m_containerIdentifiersHasBeenSet = true; m_containerIdentifiers.emplace_back(std::forward<ContainerIdentifiersT>(value)); return *this; }
128
130
131 inline const Aws::String& GetRequestId() const { return m_requestId; }
132 template<typename RequestIdT = Aws::String>
133 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
134 template<typename RequestIdT = Aws::String>
135 GetComputeAccessResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
137 private:
138
139 Aws::String m_fleetId;
140 bool m_fleetIdHasBeenSet = false;
141
142 Aws::String m_fleetArn;
143 bool m_fleetArnHasBeenSet = false;
144
145 Aws::String m_computeName;
146 bool m_computeNameHasBeenSet = false;
147
148 Aws::String m_computeArn;
149 bool m_computeArnHasBeenSet = false;
150
151 AwsCredentials m_credentials;
152 bool m_credentialsHasBeenSet = false;
153
154 Aws::String m_target;
155 bool m_targetHasBeenSet = false;
156
157 Aws::Vector<ContainerIdentifier> m_containerIdentifiers;
158 bool m_containerIdentifiersHasBeenSet = false;
159
160 Aws::String m_requestId;
161 bool m_requestIdHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace GameLift
166} // namespace Aws
GetComputeAccessResult & WithFleetArn(FleetArnT &&value)
AWS_GAMELIFT_API GetComputeAccessResult()=default
void SetContainerIdentifiers(ContainerIdentifiersT &&value)
GetComputeAccessResult & WithFleetId(FleetIdT &&value)
const Aws::Vector< ContainerIdentifier > & GetContainerIdentifiers() const
GetComputeAccessResult & WithComputeArn(ComputeArnT &&value)
GetComputeAccessResult & WithTarget(TargetT &&value)
GetComputeAccessResult & WithComputeName(ComputeNameT &&value)
GetComputeAccessResult & WithCredentials(CredentialsT &&value)
AWS_GAMELIFT_API GetComputeAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComputeAccessResult & WithRequestId(RequestIdT &&value)
GetComputeAccessResult & WithContainerIdentifiers(ContainerIdentifiersT &&value)
AWS_GAMELIFT_API GetComputeAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComputeAccessResult & AddContainerIdentifiers(ContainerIdentifiersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue