AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFleetLocationAttributesResult.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/LocationAttributes.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GameLift
26{
27namespace Model
28{
30 {
31 public:
35
36
38
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 DescribeFleetLocationAttributesResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
47 inline DescribeFleetLocationAttributesResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
48 inline DescribeFleetLocationAttributesResult& 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 DescribeFleetLocationAttributesResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
64 inline DescribeFleetLocationAttributesResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
65 inline DescribeFleetLocationAttributesResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
67
69
72 inline const Aws::Vector<LocationAttributes>& GetLocationAttributes() const{ return m_locationAttributes; }
73 inline void SetLocationAttributes(const Aws::Vector<LocationAttributes>& value) { m_locationAttributes = value; }
74 inline void SetLocationAttributes(Aws::Vector<LocationAttributes>&& value) { m_locationAttributes = std::move(value); }
77 inline DescribeFleetLocationAttributesResult& AddLocationAttributes(const LocationAttributes& value) { m_locationAttributes.push_back(value); return *this; }
78 inline DescribeFleetLocationAttributesResult& AddLocationAttributes(LocationAttributes&& value) { m_locationAttributes.push_back(std::move(value)); return *this; }
80
82
87 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
91 inline DescribeFleetLocationAttributesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline DescribeFleetLocationAttributesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline DescribeFleetLocationAttributesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline DescribeFleetLocationAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline DescribeFleetLocationAttributesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_fleetId;
109
110 Aws::String m_fleetArn;
111
112 Aws::Vector<LocationAttributes> m_locationAttributes;
113
114 Aws::String m_nextToken;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace GameLift
121} // namespace Aws
DescribeFleetLocationAttributesResult & WithRequestId(const Aws::String &value)
DescribeFleetLocationAttributesResult & WithNextToken(Aws::String &&value)
DescribeFleetLocationAttributesResult & AddLocationAttributes(LocationAttributes &&value)
DescribeFleetLocationAttributesResult & WithRequestId(const char *value)
DescribeFleetLocationAttributesResult & WithFleetArn(Aws::String &&value)
AWS_GAMELIFT_API DescribeFleetLocationAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetLocationAttributesResult & WithLocationAttributes(const Aws::Vector< LocationAttributes > &value)
AWS_GAMELIFT_API DescribeFleetLocationAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetLocationAttributesResult & WithNextToken(const Aws::String &value)
DescribeFleetLocationAttributesResult & AddLocationAttributes(const LocationAttributes &value)
DescribeFleetLocationAttributesResult & WithFleetId(Aws::String &&value)
void SetLocationAttributes(const Aws::Vector< LocationAttributes > &value)
DescribeFleetLocationAttributesResult & WithNextToken(const char *value)
DescribeFleetLocationAttributesResult & WithFleetArn(const Aws::String &value)
DescribeFleetLocationAttributesResult & WithFleetArn(const char *value)
DescribeFleetLocationAttributesResult & WithRequestId(Aws::String &&value)
DescribeFleetLocationAttributesResult & WithFleetId(const Aws::String &value)
DescribeFleetLocationAttributesResult & WithFleetId(const char *value)
DescribeFleetLocationAttributesResult & WithLocationAttributes(Aws::Vector< LocationAttributes > &&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