AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeEC2InstanceLimitsRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/model/EC2InstanceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API DescribeEC2InstanceLimitsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeEC2InstanceLimits"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
46 inline EC2InstanceType GetEC2InstanceType() const { return m_eC2InstanceType; }
47 inline bool EC2InstanceTypeHasBeenSet() const { return m_eC2InstanceTypeHasBeenSet; }
48 inline void SetEC2InstanceType(EC2InstanceType value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = value; }
51
53
57 inline const Aws::String& GetLocation() const { return m_location; }
58 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
59 template<typename LocationT = Aws::String>
60 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
61 template<typename LocationT = Aws::String>
62 DescribeEC2InstanceLimitsRequest& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
64 private:
65
67 bool m_eC2InstanceTypeHasBeenSet = false;
68
69 Aws::String m_location;
70 bool m_locationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GameLift
75} // namespace Aws
DescribeEC2InstanceLimitsRequest & WithEC2InstanceType(EC2InstanceType value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeEC2InstanceLimitsRequest & WithLocation(LocationT &&value)
AWS_GAMELIFT_API DescribeEC2InstanceLimitsRequest()=default
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String