AWS SDK for C++  1.8.56
AWS SDK for C++
DescribeFleetAttributesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
48  inline const Aws::Vector<FleetAttributes>& GetFleetAttributes() const{ return m_fleetAttributes; }
49 
55  inline void SetFleetAttributes(const Aws::Vector<FleetAttributes>& value) { m_fleetAttributes = value; }
56 
62  inline void SetFleetAttributes(Aws::Vector<FleetAttributes>&& value) { m_fleetAttributes = std::move(value); }
63 
69  inline DescribeFleetAttributesResult& WithFleetAttributes(const Aws::Vector<FleetAttributes>& value) { SetFleetAttributes(value); return *this;}
70 
76  inline DescribeFleetAttributesResult& WithFleetAttributes(Aws::Vector<FleetAttributes>&& value) { SetFleetAttributes(std::move(value)); return *this;}
77 
83  inline DescribeFleetAttributesResult& AddFleetAttributes(const FleetAttributes& value) { m_fleetAttributes.push_back(value); return *this; }
84 
90  inline DescribeFleetAttributesResult& AddFleetAttributes(FleetAttributes&& value) { m_fleetAttributes.push_back(std::move(value)); return *this; }
91 
92 
98  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99 
105  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
106 
112  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
113 
119  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
120 
126  inline DescribeFleetAttributesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
127 
133  inline DescribeFleetAttributesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
140  inline DescribeFleetAttributesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
141 
142  private:
143 
144  Aws::Vector<FleetAttributes> m_fleetAttributes;
145 
146  Aws::String m_nextToken;
147  };
148 
149 } // namespace Model
150 } // namespace GameLift
151 } // namespace Aws
DescribeFleetAttributesResult & WithFleetAttributes(const Aws::Vector< FleetAttributes > &value)
DescribeFleetAttributesResult & WithNextToken(const Aws::String &value)
#define AWS_GAMELIFT_API
DescribeFleetAttributesResult & AddFleetAttributes(const FleetAttributes &value)
DescribeFleetAttributesResult & WithNextToken(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
void SetFleetAttributes(Aws::Vector< FleetAttributes > &&value)
void SetFleetAttributes(const Aws::Vector< FleetAttributes > &value)
const Aws::Vector< FleetAttributes > & GetFleetAttributes() const
DescribeFleetAttributesResult & AddFleetAttributes(FleetAttributes &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeFleetAttributesResult & WithNextToken(const char *value)
DescribeFleetAttributesResult & WithFleetAttributes(Aws::Vector< FleetAttributes > &&value)