AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeFleetPortSettingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace GameLift
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
47  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
48 
52  inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
53 
57  inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
58 
62  inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
63 
67  inline DescribeFleetPortSettingsResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
68 
72  inline DescribeFleetPortSettingsResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
73 
77  inline DescribeFleetPortSettingsResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
78 
79 
87  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
88 
96  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
97 
105  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
106 
114  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
115 
123  inline DescribeFleetPortSettingsResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
124 
132  inline DescribeFleetPortSettingsResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
133 
141  inline DescribeFleetPortSettingsResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
142 
143 
147  inline const Aws::Vector<IpPermission>& GetInboundPermissions() const{ return m_inboundPermissions; }
148 
152  inline void SetInboundPermissions(const Aws::Vector<IpPermission>& value) { m_inboundPermissions = value; }
153 
157  inline void SetInboundPermissions(Aws::Vector<IpPermission>&& value) { m_inboundPermissions = std::move(value); }
158 
162  inline DescribeFleetPortSettingsResult& WithInboundPermissions(const Aws::Vector<IpPermission>& value) { SetInboundPermissions(value); return *this;}
163 
167  inline DescribeFleetPortSettingsResult& WithInboundPermissions(Aws::Vector<IpPermission>&& value) { SetInboundPermissions(std::move(value)); return *this;}
168 
172  inline DescribeFleetPortSettingsResult& AddInboundPermissions(const IpPermission& value) { m_inboundPermissions.push_back(value); return *this; }
173 
177  inline DescribeFleetPortSettingsResult& AddInboundPermissions(IpPermission&& value) { m_inboundPermissions.push_back(std::move(value)); return *this; }
178 
179 
185  inline const LocationUpdateStatus& GetUpdateStatus() const{ return m_updateStatus; }
186 
192  inline void SetUpdateStatus(const LocationUpdateStatus& value) { m_updateStatus = value; }
193 
199  inline void SetUpdateStatus(LocationUpdateStatus&& value) { m_updateStatus = std::move(value); }
200 
206  inline DescribeFleetPortSettingsResult& WithUpdateStatus(const LocationUpdateStatus& value) { SetUpdateStatus(value); return *this;}
207 
213  inline DescribeFleetPortSettingsResult& WithUpdateStatus(LocationUpdateStatus&& value) { SetUpdateStatus(std::move(value)); return *this;}
214 
215 
220  inline const Aws::String& GetLocation() const{ return m_location; }
221 
226  inline void SetLocation(const Aws::String& value) { m_location = value; }
227 
232  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
233 
238  inline void SetLocation(const char* value) { m_location.assign(value); }
239 
244  inline DescribeFleetPortSettingsResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
245 
250  inline DescribeFleetPortSettingsResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
251 
256  inline DescribeFleetPortSettingsResult& WithLocation(const char* value) { SetLocation(value); return *this;}
257 
258  private:
259 
260  Aws::String m_fleetId;
261 
262  Aws::String m_fleetArn;
263 
264  Aws::Vector<IpPermission> m_inboundPermissions;
265 
266  LocationUpdateStatus m_updateStatus;
267 
268  Aws::String m_location;
269  };
270 
271 } // namespace Model
272 } // namespace GameLift
273 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
IpPermission.h
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithFleetArn
DescribeFleetPortSettingsResult & WithFleetArn(const char *value)
Definition: DescribeFleetPortSettingsResult.h:141
Aws::GameLift::Model::IpPermission
Definition: IpPermission.h:39
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithUpdateStatus
DescribeFleetPortSettingsResult & WithUpdateStatus(LocationUpdateStatus &&value)
Definition: DescribeFleetPortSettingsResult.h:213
Aws::GameLift::Model::DescribeFleetPortSettingsResult::AddInboundPermissions
DescribeFleetPortSettingsResult & AddInboundPermissions(IpPermission &&value)
Definition: DescribeFleetPortSettingsResult.h:177
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithFleetId
DescribeFleetPortSettingsResult & WithFleetId(Aws::String &&value)
Definition: DescribeFleetPortSettingsResult.h:72
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetUpdateStatus
void SetUpdateStatus(const LocationUpdateStatus &value)
Definition: DescribeFleetPortSettingsResult.h:192
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithInboundPermissions
DescribeFleetPortSettingsResult & WithInboundPermissions(Aws::Vector< IpPermission > &&value)
Definition: DescribeFleetPortSettingsResult.h:167
Aws::GameLift::Model::DescribeFleetPortSettingsResult::DescribeFleetPortSettingsResult
DescribeFleetPortSettingsResult()
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithLocation
DescribeFleetPortSettingsResult & WithLocation(Aws::String &&value)
Definition: DescribeFleetPortSettingsResult.h:250
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithFleetArn
DescribeFleetPortSettingsResult & WithFleetArn(const Aws::String &value)
Definition: DescribeFleetPortSettingsResult.h:123
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithLocation
DescribeFleetPortSettingsResult & WithLocation(const Aws::String &value)
Definition: DescribeFleetPortSettingsResult.h:244
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: DescribeFleetPortSettingsResult.h:96
Aws::GameLift::Model::DescribeFleetPortSettingsResult::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: DescribeFleetPortSettingsResult.h:87
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetUpdateStatus
void SetUpdateStatus(LocationUpdateStatus &&value)
Definition: DescribeFleetPortSettingsResult.h:199
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithInboundPermissions
DescribeFleetPortSettingsResult & WithInboundPermissions(const Aws::Vector< IpPermission > &value)
Definition: DescribeFleetPortSettingsResult.h:162
AWSVector.h
Aws::GameLift::Model::DescribeFleetPortSettingsResult::GetUpdateStatus
const LocationUpdateStatus & GetUpdateStatus() const
Definition: DescribeFleetPortSettingsResult.h:185
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithFleetArn
DescribeFleetPortSettingsResult & WithFleetArn(Aws::String &&value)
Definition: DescribeFleetPortSettingsResult.h:132
GameLift_EXPORTS.h
Aws::GameLift::Model::LocationUpdateStatus
LocationUpdateStatus
Definition: LocationUpdateStatus.h:17
Aws::GameLift::Model::DescribeFleetPortSettingsResult::GetInboundPermissions
const Aws::Vector< IpPermission > & GetInboundPermissions() const
Definition: DescribeFleetPortSettingsResult.h:147
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithFleetId
DescribeFleetPortSettingsResult & WithFleetId(const Aws::String &value)
Definition: DescribeFleetPortSettingsResult.h:67
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetLocation
void SetLocation(Aws::String &&value)
Definition: DescribeFleetPortSettingsResult.h:232
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: DescribeFleetPortSettingsResult.h:105
AWSString.h
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetFleetId
void SetFleetId(const char *value)
Definition: DescribeFleetPortSettingsResult.h:62
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetFleetArn
void SetFleetArn(const char *value)
Definition: DescribeFleetPortSettingsResult.h:114
Aws::GameLift::Model::DescribeFleetPortSettingsResult::operator=
DescribeFleetPortSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetInboundPermissions
void SetInboundPermissions(Aws::Vector< IpPermission > &&value)
Definition: DescribeFleetPortSettingsResult.h:157
Aws::GameLift::Model::DescribeFleetPortSettingsResult::DescribeFleetPortSettingsResult
DescribeFleetPortSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithLocation
DescribeFleetPortSettingsResult & WithLocation(const char *value)
Definition: DescribeFleetPortSettingsResult.h:256
Aws::GameLift::Model::DescribeFleetPortSettingsResult::GetLocation
const Aws::String & GetLocation() const
Definition: DescribeFleetPortSettingsResult.h:220
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DescribeFleetPortSettingsResult.h:52
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetLocation
void SetLocation(const Aws::String &value)
Definition: DescribeFleetPortSettingsResult.h:226
LocationUpdateStatus.h
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DescribeFleetPortSettingsResult.h:57
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetLocation
void SetLocation(const char *value)
Definition: DescribeFleetPortSettingsResult.h:238
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeFleetPortSettingsResult::AddInboundPermissions
DescribeFleetPortSettingsResult & AddInboundPermissions(const IpPermission &value)
Definition: DescribeFleetPortSettingsResult.h:172
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeFleetPortSettingsResult
Definition: DescribeFleetPortSettingsResult.h:37
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithFleetId
DescribeFleetPortSettingsResult & WithFleetId(const char *value)
Definition: DescribeFleetPortSettingsResult.h:77
Aws::GameLift::Model::DescribeFleetPortSettingsResult::SetInboundPermissions
void SetInboundPermissions(const Aws::Vector< IpPermission > &value)
Definition: DescribeFleetPortSettingsResult.h:152
Aws::GameLift::Model::DescribeFleetPortSettingsResult::WithUpdateStatus
DescribeFleetPortSettingsResult & WithUpdateStatus(const LocationUpdateStatus &value)
Definition: DescribeFleetPortSettingsResult.h:206
Aws::GameLift::Model::DescribeFleetPortSettingsResult::GetFleetId
const Aws::String & GetFleetId() const
Definition: DescribeFleetPortSettingsResult.h:47