1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/gamelift/GameLift_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSVector.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <aws/gamelift/model/FleetAttributes.h>
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 {
29   /**
30    * <p>Represents the returned data in response to a request
31    * operation.</p><p><h3>See Also:</h3>   <a
32    * href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributesOutput">AWS
33    * API Reference</a></p>
34    */
35   class AWS_GAMELIFT_API DescribeFleetAttributesResult
36   {
37   public:
38     DescribeFleetAttributesResult();
39     DescribeFleetAttributesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
40     DescribeFleetAttributesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
41 
42 
43     /**
44      * <p>A collection of objects containing attribute metadata for each requested
45      * fleet ID. Attribute objects are returned only for fleets that currently
46      * exist.</p>
47      */
GetFleetAttributes()48     inline const Aws::Vector<FleetAttributes>& GetFleetAttributes() const{ return m_fleetAttributes; }
49 
50     /**
51      * <p>A collection of objects containing attribute metadata for each requested
52      * fleet ID. Attribute objects are returned only for fleets that currently
53      * exist.</p>
54      */
SetFleetAttributes(const Aws::Vector<FleetAttributes> & value)55     inline void SetFleetAttributes(const Aws::Vector<FleetAttributes>& value) { m_fleetAttributes = value; }
56 
57     /**
58      * <p>A collection of objects containing attribute metadata for each requested
59      * fleet ID. Attribute objects are returned only for fleets that currently
60      * exist.</p>
61      */
SetFleetAttributes(Aws::Vector<FleetAttributes> && value)62     inline void SetFleetAttributes(Aws::Vector<FleetAttributes>&& value) { m_fleetAttributes = std::move(value); }
63 
64     /**
65      * <p>A collection of objects containing attribute metadata for each requested
66      * fleet ID. Attribute objects are returned only for fleets that currently
67      * exist.</p>
68      */
WithFleetAttributes(const Aws::Vector<FleetAttributes> & value)69     inline DescribeFleetAttributesResult& WithFleetAttributes(const Aws::Vector<FleetAttributes>& value) { SetFleetAttributes(value); return *this;}
70 
71     /**
72      * <p>A collection of objects containing attribute metadata for each requested
73      * fleet ID. Attribute objects are returned only for fleets that currently
74      * exist.</p>
75      */
WithFleetAttributes(Aws::Vector<FleetAttributes> && value)76     inline DescribeFleetAttributesResult& WithFleetAttributes(Aws::Vector<FleetAttributes>&& value) { SetFleetAttributes(std::move(value)); return *this;}
77 
78     /**
79      * <p>A collection of objects containing attribute metadata for each requested
80      * fleet ID. Attribute objects are returned only for fleets that currently
81      * exist.</p>
82      */
AddFleetAttributes(const FleetAttributes & value)83     inline DescribeFleetAttributesResult& AddFleetAttributes(const FleetAttributes& value) { m_fleetAttributes.push_back(value); return *this; }
84 
85     /**
86      * <p>A collection of objects containing attribute metadata for each requested
87      * fleet ID. Attribute objects are returned only for fleets that currently
88      * exist.</p>
89      */
AddFleetAttributes(FleetAttributes && value)90     inline DescribeFleetAttributesResult& AddFleetAttributes(FleetAttributes&& value) { m_fleetAttributes.push_back(std::move(value)); return *this; }
91 
92 
93     /**
94      * <p>A token that indicates where to resume retrieving results on the next call to
95      * this operation. If no token is returned, these results represent the end of the
96      * list.</p>
97      */
GetNextToken()98     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99 
100     /**
101      * <p>A token that indicates where to resume retrieving results on the next call to
102      * this operation. If no token is returned, these results represent the end of the
103      * list.</p>
104      */
SetNextToken(const Aws::String & value)105     inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
106 
107     /**
108      * <p>A token that indicates where to resume retrieving results on the next call to
109      * this operation. If no token is returned, these results represent the end of the
110      * list.</p>
111      */
SetNextToken(Aws::String && value)112     inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
113 
114     /**
115      * <p>A token that indicates where to resume retrieving results on the next call to
116      * this operation. If no token is returned, these results represent the end of the
117      * list.</p>
118      */
SetNextToken(const char * value)119     inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
120 
121     /**
122      * <p>A token that indicates where to resume retrieving results on the next call to
123      * this operation. If no token is returned, these results represent the end of the
124      * list.</p>
125      */
WithNextToken(const Aws::String & value)126     inline DescribeFleetAttributesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
127 
128     /**
129      * <p>A token that indicates where to resume retrieving results on the next call to
130      * this operation. If no token is returned, these results represent the end of the
131      * list.</p>
132      */
WithNextToken(Aws::String && value)133     inline DescribeFleetAttributesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
135     /**
136      * <p>A token that indicates where to resume retrieving results on the next call to
137      * this operation. If no token is returned, these results represent the end of the
138      * list.</p>
139      */
WithNextToken(const char * value)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
152