AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFleetLocationsResult.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/LocationState.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 CreateFleetLocationsResult();
35
36
38
41 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
42 inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
43 inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
44 inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
45 inline CreateFleetLocationsResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
46 inline CreateFleetLocationsResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
47 inline CreateFleetLocationsResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
49
51
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 CreateFleetLocationsResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
64 inline CreateFleetLocationsResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
65 inline CreateFleetLocationsResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
67
69
77 inline const Aws::Vector<LocationState>& GetLocationStates() const{ return m_locationStates; }
78 inline void SetLocationStates(const Aws::Vector<LocationState>& value) { m_locationStates = value; }
79 inline void SetLocationStates(Aws::Vector<LocationState>&& value) { m_locationStates = std::move(value); }
82 inline CreateFleetLocationsResult& AddLocationStates(const LocationState& value) { m_locationStates.push_back(value); return *this; }
83 inline CreateFleetLocationsResult& AddLocationStates(LocationState&& value) { m_locationStates.push_back(std::move(value)); return *this; }
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline CreateFleetLocationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline CreateFleetLocationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline CreateFleetLocationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_fleetId;
99
100 Aws::String m_fleetArn;
101
102 Aws::Vector<LocationState> m_locationStates;
103
104 Aws::String m_requestId;
105 };
106
107} // namespace Model
108} // namespace GameLift
109} // namespace Aws
CreateFleetLocationsResult & WithLocationStates(const Aws::Vector< LocationState > &value)
CreateFleetLocationsResult & WithFleetArn(const char *value)
void SetLocationStates(Aws::Vector< LocationState > &&value)
void SetLocationStates(const Aws::Vector< LocationState > &value)
CreateFleetLocationsResult & WithRequestId(Aws::String &&value)
AWS_GAMELIFT_API CreateFleetLocationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFleetLocationsResult & WithRequestId(const char *value)
CreateFleetLocationsResult & WithLocationStates(Aws::Vector< LocationState > &&value)
CreateFleetLocationsResult & AddLocationStates(LocationState &&value)
CreateFleetLocationsResult & AddLocationStates(const LocationState &value)
CreateFleetLocationsResult & WithRequestId(const Aws::String &value)
const Aws::Vector< LocationState > & GetLocationStates() const
CreateFleetLocationsResult & WithFleetArn(const Aws::String &value)
AWS_GAMELIFT_API CreateFleetLocationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFleetLocationsResult & WithFleetId(Aws::String &&value)
CreateFleetLocationsResult & WithFleetId(const Aws::String &value)
CreateFleetLocationsResult & WithFleetId(const char *value)
CreateFleetLocationsResult & WithFleetArn(Aws::String &&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