AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFleetPortSettingsResult.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/model/LocationUpdateStatus.h>
11#include <aws/gamelift/model/IpPermission.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:
36
37
39
42 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
43 inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
44 inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
45 inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
46 inline DescribeFleetPortSettingsResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
47 inline DescribeFleetPortSettingsResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
48 inline DescribeFleetPortSettingsResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
50
52
59 inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
60 inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
61 inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
62 inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
63 inline DescribeFleetPortSettingsResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
64 inline DescribeFleetPortSettingsResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
65 inline DescribeFleetPortSettingsResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
67
69
72 inline const Aws::Vector<IpPermission>& GetInboundPermissions() const{ return m_inboundPermissions; }
73 inline void SetInboundPermissions(const Aws::Vector<IpPermission>& value) { m_inboundPermissions = value; }
74 inline void SetInboundPermissions(Aws::Vector<IpPermission>&& value) { m_inboundPermissions = std::move(value); }
77 inline DescribeFleetPortSettingsResult& AddInboundPermissions(const IpPermission& value) { m_inboundPermissions.push_back(value); return *this; }
78 inline DescribeFleetPortSettingsResult& AddInboundPermissions(IpPermission&& value) { m_inboundPermissions.push_back(std::move(value)); return *this; }
80
82
87 inline const LocationUpdateStatus& GetUpdateStatus() const{ return m_updateStatus; }
88 inline void SetUpdateStatus(const LocationUpdateStatus& value) { m_updateStatus = value; }
89 inline void SetUpdateStatus(LocationUpdateStatus&& value) { m_updateStatus = std::move(value); }
91 inline DescribeFleetPortSettingsResult& WithUpdateStatus(LocationUpdateStatus&& value) { SetUpdateStatus(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetLocation() const{ return m_location; }
100 inline void SetLocation(const Aws::String& value) { m_location = value; }
101 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
102 inline void SetLocation(const char* value) { m_location.assign(value); }
103 inline DescribeFleetPortSettingsResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
104 inline DescribeFleetPortSettingsResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
105 inline DescribeFleetPortSettingsResult& WithLocation(const char* value) { SetLocation(value); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const{ return m_requestId; }
111 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
112 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
113 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
114 inline DescribeFleetPortSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
115 inline DescribeFleetPortSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
116 inline DescribeFleetPortSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
118 private:
119
120 Aws::String m_fleetId;
121
122 Aws::String m_fleetArn;
123
124 Aws::Vector<IpPermission> m_inboundPermissions;
125
126 LocationUpdateStatus m_updateStatus;
127
128 Aws::String m_location;
129
130 Aws::String m_requestId;
131 };
132
133} // namespace Model
134} // namespace GameLift
135} // namespace Aws
DescribeFleetPortSettingsResult & WithLocation(const Aws::String &value)
DescribeFleetPortSettingsResult & WithRequestId(const Aws::String &value)
DescribeFleetPortSettingsResult & WithFleetArn(const char *value)
DescribeFleetPortSettingsResult & WithLocation(const char *value)
DescribeFleetPortSettingsResult & AddInboundPermissions(IpPermission &&value)
void SetInboundPermissions(const Aws::Vector< IpPermission > &value)
DescribeFleetPortSettingsResult & WithUpdateStatus(const LocationUpdateStatus &value)
AWS_GAMELIFT_API DescribeFleetPortSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetPortSettingsResult & WithFleetArn(Aws::String &&value)
DescribeFleetPortSettingsResult & WithUpdateStatus(LocationUpdateStatus &&value)
DescribeFleetPortSettingsResult & WithFleetId(const Aws::String &value)
AWS_GAMELIFT_API DescribeFleetPortSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetPortSettingsResult & WithInboundPermissions(const Aws::Vector< IpPermission > &value)
DescribeFleetPortSettingsResult & WithFleetArn(const Aws::String &value)
const Aws::Vector< IpPermission > & GetInboundPermissions() const
DescribeFleetPortSettingsResult & WithInboundPermissions(Aws::Vector< IpPermission > &&value)
DescribeFleetPortSettingsResult & WithRequestId(Aws::String &&value)
DescribeFleetPortSettingsResult & WithFleetId(Aws::String &&value)
DescribeFleetPortSettingsResult & WithLocation(Aws::String &&value)
DescribeFleetPortSettingsResult & WithRequestId(const char *value)
DescribeFleetPortSettingsResult & AddInboundPermissions(const IpPermission &value)
DescribeFleetPortSettingsResult & WithFleetId(const char *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