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/gamelift/GameLiftRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
19   /**
20    * <p>Represents the input for a request operation.</p><p><h3>See Also:</h3>   <a
21    * href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationUtilizationInput">AWS
22    * API Reference</a></p>
23    */
24   class AWS_GAMELIFT_API DescribeFleetLocationUtilizationRequest : public GameLiftRequest
25   {
26   public:
27     DescribeFleetLocationUtilizationRequest();
28 
29     // Service request name is the Operation name which will send this request out,
30     // each operation should has unique request name, so that we can get operation's name from this request.
31     // Note: this is not true for response, multiple operations may have the same response name,
32     // so we can not get operation's name from response.
GetServiceRequestName()33     inline virtual const char* GetServiceRequestName() const override { return "DescribeFleetLocationUtilization"; }
34 
35     Aws::String SerializePayload() const override;
36 
37     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
40     /**
41      * <p>A unique identifier for the fleet to request location utilization for. You
42      * can use either the fleet ID or ARN value.</p>
43      */
GetFleetId()44     inline const Aws::String& GetFleetId() const{ return m_fleetId; }
45 
46     /**
47      * <p>A unique identifier for the fleet to request location utilization for. You
48      * can use either the fleet ID or ARN value.</p>
49      */
FleetIdHasBeenSet()50     inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
51 
52     /**
53      * <p>A unique identifier for the fleet to request location utilization for. You
54      * can use either the fleet ID or ARN value.</p>
55      */
SetFleetId(const Aws::String & value)56     inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
57 
58     /**
59      * <p>A unique identifier for the fleet to request location utilization for. You
60      * can use either the fleet ID or ARN value.</p>
61      */
SetFleetId(Aws::String && value)62     inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
63 
64     /**
65      * <p>A unique identifier for the fleet to request location utilization for. You
66      * can use either the fleet ID or ARN value.</p>
67      */
SetFleetId(const char * value)68     inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
69 
70     /**
71      * <p>A unique identifier for the fleet to request location utilization for. You
72      * can use either the fleet ID or ARN value.</p>
73      */
WithFleetId(const Aws::String & value)74     inline DescribeFleetLocationUtilizationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
75 
76     /**
77      * <p>A unique identifier for the fleet to request location utilization for. You
78      * can use either the fleet ID or ARN value.</p>
79      */
WithFleetId(Aws::String && value)80     inline DescribeFleetLocationUtilizationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
81 
82     /**
83      * <p>A unique identifier for the fleet to request location utilization for. You
84      * can use either the fleet ID or ARN value.</p>
85      */
WithFleetId(const char * value)86     inline DescribeFleetLocationUtilizationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
87 
88 
89     /**
90      * <p>The fleet location to retrieve utilization information for. Specify a
91      * location in the form of an AWS Region code, such as <code>us-west-2</code>.</p>
92      */
GetLocation()93     inline const Aws::String& GetLocation() const{ return m_location; }
94 
95     /**
96      * <p>The fleet location to retrieve utilization information for. Specify a
97      * location in the form of an AWS Region code, such as <code>us-west-2</code>.</p>
98      */
LocationHasBeenSet()99     inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
100 
101     /**
102      * <p>The fleet location to retrieve utilization information for. Specify a
103      * location in the form of an AWS Region code, such as <code>us-west-2</code>.</p>
104      */
SetLocation(const Aws::String & value)105     inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
106 
107     /**
108      * <p>The fleet location to retrieve utilization information for. Specify a
109      * location in the form of an AWS Region code, such as <code>us-west-2</code>.</p>
110      */
SetLocation(Aws::String && value)111     inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
112 
113     /**
114      * <p>The fleet location to retrieve utilization information for. Specify a
115      * location in the form of an AWS Region code, such as <code>us-west-2</code>.</p>
116      */
SetLocation(const char * value)117     inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
118 
119     /**
120      * <p>The fleet location to retrieve utilization information for. Specify a
121      * location in the form of an AWS Region code, such as <code>us-west-2</code>.</p>
122      */
WithLocation(const Aws::String & value)123     inline DescribeFleetLocationUtilizationRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
124 
125     /**
126      * <p>The fleet location to retrieve utilization information for. Specify a
127      * location in the form of an AWS Region code, such as <code>us-west-2</code>.</p>
128      */
WithLocation(Aws::String && value)129     inline DescribeFleetLocationUtilizationRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
130 
131     /**
132      * <p>The fleet location to retrieve utilization information for. Specify a
133      * location in the form of an AWS Region code, such as <code>us-west-2</code>.</p>
134      */
WithLocation(const char * value)135     inline DescribeFleetLocationUtilizationRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
136 
137   private:
138 
139     Aws::String m_fleetId;
140     bool m_fleetIdHasBeenSet;
141 
142     Aws::String m_location;
143     bool m_locationHasBeenSet;
144   };
145 
146 } // namespace Model
147 } // namespace GameLift
148 } // namespace Aws
149