AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetUsagePlanKeyResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace APIGateway {
23namespace Model {
31 public:
32 AWS_APIGATEWAY_API GetUsagePlanKeyResult() = default;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetType() const { return m_type; }
59 template <typename TypeT = Aws::String>
60 void SetType(TypeT&& value) {
61 m_typeHasBeenSet = true;
62 m_type = std::forward<TypeT>(value);
63 }
64 template <typename TypeT = Aws::String>
66 SetType(std::forward<TypeT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetValue() const { return m_value; }
76 template <typename ValueT = Aws::String>
77 void SetValue(ValueT&& value) {
78 m_valueHasBeenSet = true;
79 m_value = std::forward<ValueT>(value);
80 }
81 template <typename ValueT = Aws::String>
83 SetValue(std::forward<ValueT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 template <typename NameT = Aws::String>
94 void SetName(NameT&& value) {
95 m_nameHasBeenSet = true;
96 m_name = std::forward<NameT>(value);
97 }
98 template <typename NameT = Aws::String>
100 SetName(std::forward<NameT>(value));
101 return *this;
102 }
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template <typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) {
110 m_requestIdHasBeenSet = true;
111 m_requestId = std::forward<RequestIdT>(value);
112 }
113 template <typename RequestIdT = Aws::String>
115 SetRequestId(std::forward<RequestIdT>(value));
116 return *this;
117 }
119 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
120
121 private:
122 Aws::String m_id;
123
124 Aws::String m_type;
125
126 Aws::String m_value;
127
128 Aws::String m_name;
129
130 Aws::String m_requestId;
131 Aws::Http::HttpResponseCode m_HttpResponseCode;
132 bool m_idHasBeenSet = false;
133 bool m_typeHasBeenSet = false;
134 bool m_valueHasBeenSet = false;
135 bool m_nameHasBeenSet = false;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace APIGateway
141} // namespace Aws
AWS_APIGATEWAY_API GetUsagePlanKeyResult()=default
GetUsagePlanKeyResult & WithValue(ValueT &&value)
GetUsagePlanKeyResult & WithId(IdT &&value)
GetUsagePlanKeyResult & WithType(TypeT &&value)
GetUsagePlanKeyResult & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAY_API GetUsagePlanKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsagePlanKeyResult & WithName(NameT &&value)
AWS_APIGATEWAY_API GetUsagePlanKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue