AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
32 AWS_GAMELIFT_API DescribeFleetLocationAttributesResult() = default;
35
36
38
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 DescribeFleetLocationAttributesResult& 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 DescribeFleetLocationAttributesResult& WithFleetArn(FleetArnT&& value) { SetFleetArn(std::forward<FleetArnT>(value)); return *this;}
63
65
68 inline const Aws::Vector<LocationAttributes>& GetLocationAttributes() const { return m_locationAttributes; }
69 template<typename LocationAttributesT = Aws::Vector<LocationAttributes>>
70 void SetLocationAttributes(LocationAttributesT&& value) { m_locationAttributesHasBeenSet = true; m_locationAttributes = std::forward<LocationAttributesT>(value); }
71 template<typename LocationAttributesT = Aws::Vector<LocationAttributes>>
72 DescribeFleetLocationAttributesResult& WithLocationAttributes(LocationAttributesT&& value) { SetLocationAttributes(std::forward<LocationAttributesT>(value)); return *this;}
73 template<typename LocationAttributesT = LocationAttributes>
74 DescribeFleetLocationAttributesResult& AddLocationAttributes(LocationAttributesT&& value) { m_locationAttributesHasBeenSet = true; m_locationAttributes.emplace_back(std::forward<LocationAttributesT>(value)); return *this; }
76
78
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 DescribeFleetLocationAttributesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 DescribeFleetLocationAttributesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 Aws::String m_fleetId;
101 bool m_fleetIdHasBeenSet = false;
102
103 Aws::String m_fleetArn;
104 bool m_fleetArnHasBeenSet = false;
105
106 Aws::Vector<LocationAttributes> m_locationAttributes;
107 bool m_locationAttributesHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 Aws::String m_requestId;
113 bool m_requestIdHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace GameLift
118} // namespace Aws
DescribeFleetLocationAttributesResult & AddLocationAttributes(LocationAttributesT &&value)
DescribeFleetLocationAttributesResult & WithFleetId(FleetIdT &&value)
AWS_GAMELIFT_API DescribeFleetLocationAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API DescribeFleetLocationAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetLocationAttributesResult & WithNextToken(NextTokenT &&value)
DescribeFleetLocationAttributesResult & WithLocationAttributes(LocationAttributesT &&value)
DescribeFleetLocationAttributesResult & WithFleetArn(FleetArnT &&value)
DescribeFleetLocationAttributesResult & WithRequestId(RequestIdT &&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