AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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
45 inline const EC2InstanceType& GetEC2InstanceType() const{ return m_eC2InstanceType; }
46 inline bool EC2InstanceTypeHasBeenSet() const { return m_eC2InstanceTypeHasBeenSet; }
47 inline void SetEC2InstanceType(const EC2InstanceType& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = value; }
48 inline void SetEC2InstanceType(EC2InstanceType&& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = std::move(value); }
52
54
58 inline const Aws::String& GetLocation() const{ return m_location; }
59 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
60 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
61 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
62 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
63 inline DescribeEC2InstanceLimitsRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
64 inline DescribeEC2InstanceLimitsRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
65 inline DescribeEC2InstanceLimitsRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
67 private:
68
69 EC2InstanceType m_eC2InstanceType;
70 bool m_eC2InstanceTypeHasBeenSet = false;
71
72 Aws::String m_location;
73 bool m_locationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GameLift
78} // namespace Aws
DescribeEC2InstanceLimitsRequest & WithEC2InstanceType(EC2InstanceType &&value)
DescribeEC2InstanceLimitsRequest & WithLocation(const char *value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeEC2InstanceLimitsRequest & WithLocation(const Aws::String &value)
DescribeEC2InstanceLimitsRequest & WithLocation(Aws::String &&value)
DescribeEC2InstanceLimitsRequest & WithEC2InstanceType(const EC2InstanceType &value)
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