AWS SDK for C++  1.9.158
AWS SDK for C++
GetServiceQuotaRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ServiceQuotas
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetServiceQuota"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
41 
45  inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
46 
50  inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
51 
55  inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
56 
60  inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
61 
65  inline GetServiceQuotaRequest& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
66 
70  inline GetServiceQuotaRequest& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
71 
75  inline GetServiceQuotaRequest& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
76 
77 
81  inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; }
82 
86  inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
87 
91  inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; }
92 
96  inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); }
97 
101  inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); }
102 
106  inline GetServiceQuotaRequest& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
107 
111  inline GetServiceQuotaRequest& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
112 
116  inline GetServiceQuotaRequest& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
117 
118  private:
119 
120  Aws::String m_serviceCode;
121  bool m_serviceCodeHasBeenSet;
122 
123  Aws::String m_quotaCode;
124  bool m_quotaCodeHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace ServiceQuotas
129 } // namespace Aws
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::SetQuotaCode
void SetQuotaCode(const Aws::String &value)
Definition: GetServiceQuotaRequest.h:91
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_SERVICEQUOTAS_API
#define AWS_SERVICEQUOTAS_API
Definition: ServiceQuotas_EXPORTS.h:28
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::SetQuotaCode
void SetQuotaCode(const char *value)
Definition: GetServiceQuotaRequest.h:101
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::WithQuotaCode
GetServiceQuotaRequest & WithQuotaCode(const Aws::String &value)
Definition: GetServiceQuotaRequest.h:106
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::ServiceCodeHasBeenSet
bool ServiceCodeHasBeenSet() const
Definition: GetServiceQuotaRequest.h:45
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::SetServiceCode
void SetServiceCode(Aws::String &&value)
Definition: GetServiceQuotaRequest.h:55
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::SetQuotaCode
void SetQuotaCode(Aws::String &&value)
Definition: GetServiceQuotaRequest.h:96
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::SetServiceCode
void SetServiceCode(const Aws::String &value)
Definition: GetServiceQuotaRequest.h:50
ServiceQuotas_EXPORTS.h
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::QuotaCodeHasBeenSet
bool QuotaCodeHasBeenSet() const
Definition: GetServiceQuotaRequest.h:86
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::GetServiceQuotaRequest
GetServiceQuotaRequest()
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::WithQuotaCode
GetServiceQuotaRequest & WithQuotaCode(Aws::String &&value)
Definition: GetServiceQuotaRequest.h:111
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::WithServiceCode
GetServiceQuotaRequest & WithServiceCode(Aws::String &&value)
Definition: GetServiceQuotaRequest.h:70
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::WithQuotaCode
GetServiceQuotaRequest & WithQuotaCode(const char *value)
Definition: GetServiceQuotaRequest.h:116
AWSString.h
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetServiceQuotaRequest.h:30
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::GetServiceCode
const Aws::String & GetServiceCode() const
Definition: GetServiceQuotaRequest.h:40
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::WithServiceCode
GetServiceQuotaRequest & WithServiceCode(const char *value)
Definition: GetServiceQuotaRequest.h:75
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::SetServiceCode
void SetServiceCode(const char *value)
Definition: GetServiceQuotaRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::GetQuotaCode
const Aws::String & GetQuotaCode() const
Definition: GetServiceQuotaRequest.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceQuotas::ServiceQuotasRequest
Definition: ServiceQuotasRequest.h:17
Aws::ServiceQuotas::Model::GetServiceQuotaRequest::WithServiceCode
GetServiceQuotaRequest & WithServiceCode(const Aws::String &value)
Definition: GetServiceQuotaRequest.h:65
ServiceQuotasRequest.h
Aws::ServiceQuotas::Model::GetServiceQuotaRequest
Definition: GetServiceQuotaRequest.h:22