AWS SDK for C++  1.9.21
AWS SDK for C++
CreateUsagePlanKeyResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
38  {
39  public:
43 
44 
48  inline const Aws::String& GetId() const{ return m_id; }
49 
53  inline void SetId(const Aws::String& value) { m_id = value; }
54 
58  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
59 
63  inline void SetId(const char* value) { m_id.assign(value); }
64 
68  inline CreateUsagePlanKeyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
69 
73  inline CreateUsagePlanKeyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 
78  inline CreateUsagePlanKeyResult& WithId(const char* value) { SetId(value); return *this;}
79 
80 
85  inline const Aws::String& GetType() const{ return m_type; }
86 
91  inline void SetType(const Aws::String& value) { m_type = value; }
92 
97  inline void SetType(Aws::String&& value) { m_type = std::move(value); }
98 
103  inline void SetType(const char* value) { m_type.assign(value); }
104 
109  inline CreateUsagePlanKeyResult& WithType(const Aws::String& value) { SetType(value); return *this;}
110 
115  inline CreateUsagePlanKeyResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
116 
121  inline CreateUsagePlanKeyResult& WithType(const char* value) { SetType(value); return *this;}
122 
123 
127  inline const Aws::String& GetValue() const{ return m_value; }
128 
132  inline void SetValue(const Aws::String& value) { m_value = value; }
133 
137  inline void SetValue(Aws::String&& value) { m_value = std::move(value); }
138 
142  inline void SetValue(const char* value) { m_value.assign(value); }
143 
147  inline CreateUsagePlanKeyResult& WithValue(const Aws::String& value) { SetValue(value); return *this;}
148 
152  inline CreateUsagePlanKeyResult& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
153 
157  inline CreateUsagePlanKeyResult& WithValue(const char* value) { SetValue(value); return *this;}
158 
159 
163  inline const Aws::String& GetName() const{ return m_name; }
164 
168  inline void SetName(const Aws::String& value) { m_name = value; }
169 
173  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
174 
178  inline void SetName(const char* value) { m_name.assign(value); }
179 
183  inline CreateUsagePlanKeyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
184 
188  inline CreateUsagePlanKeyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
189 
193  inline CreateUsagePlanKeyResult& WithName(const char* value) { SetName(value); return *this;}
194 
195  private:
196 
197  Aws::String m_id;
198 
199  Aws::String m_type;
200 
201  Aws::String m_value;
202 
203  Aws::String m_name;
204  };
205 
206 } // namespace Model
207 } // namespace APIGateway
208 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::CreateUsagePlanKeyResult::GetType
const Aws::String & GetType() const
Definition: CreateUsagePlanKeyResult.h:85
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithId
CreateUsagePlanKeyResult & WithId(Aws::String &&value)
Definition: CreateUsagePlanKeyResult.h:73
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetType
void SetType(const char *value)
Definition: CreateUsagePlanKeyResult.h:103
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetValue
void SetValue(const Aws::String &value)
Definition: CreateUsagePlanKeyResult.h:132
APIGateway_EXPORTS.h
Aws::APIGateway::Model::CreateUsagePlanKeyResult
Definition: CreateUsagePlanKeyResult.h:38
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithValue
CreateUsagePlanKeyResult & WithValue(const char *value)
Definition: CreateUsagePlanKeyResult.h:157
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetValue
void SetValue(const char *value)
Definition: CreateUsagePlanKeyResult.h:142
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetId
void SetId(Aws::String &&value)
Definition: CreateUsagePlanKeyResult.h:58
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetName
void SetName(const Aws::String &value)
Definition: CreateUsagePlanKeyResult.h:168
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithType
CreateUsagePlanKeyResult & WithType(const Aws::String &value)
Definition: CreateUsagePlanKeyResult.h:109
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithName
CreateUsagePlanKeyResult & WithName(const char *value)
Definition: CreateUsagePlanKeyResult.h:193
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetType
void SetType(Aws::String &&value)
Definition: CreateUsagePlanKeyResult.h:97
AWSString.h
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetName
void SetName(Aws::String &&value)
Definition: CreateUsagePlanKeyResult.h:173
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithType
CreateUsagePlanKeyResult & WithType(Aws::String &&value)
Definition: CreateUsagePlanKeyResult.h:115
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithValue
CreateUsagePlanKeyResult & WithValue(Aws::String &&value)
Definition: CreateUsagePlanKeyResult.h:152
Aws::APIGateway::Model::CreateUsagePlanKeyResult::GetId
const Aws::String & GetId() const
Definition: CreateUsagePlanKeyResult.h:48
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetId
void SetId(const char *value)
Definition: CreateUsagePlanKeyResult.h:63
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithName
CreateUsagePlanKeyResult & WithName(const Aws::String &value)
Definition: CreateUsagePlanKeyResult.h:183
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithId
CreateUsagePlanKeyResult & WithId(const Aws::String &value)
Definition: CreateUsagePlanKeyResult.h:68
Aws::APIGateway::Model::CreateUsagePlanKeyResult::GetName
const Aws::String & GetName() const
Definition: CreateUsagePlanKeyResult.h:163
Aws::APIGateway::Model::CreateUsagePlanKeyResult::CreateUsagePlanKeyResult
CreateUsagePlanKeyResult()
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetName
void SetName(const char *value)
Definition: CreateUsagePlanKeyResult.h:178
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithValue
CreateUsagePlanKeyResult & WithValue(const Aws::String &value)
Definition: CreateUsagePlanKeyResult.h:147
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetType
void SetType(const Aws::String &value)
Definition: CreateUsagePlanKeyResult.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithName
CreateUsagePlanKeyResult & WithName(Aws::String &&value)
Definition: CreateUsagePlanKeyResult.h:188
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetId
void SetId(const Aws::String &value)
Definition: CreateUsagePlanKeyResult.h:53
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithType
CreateUsagePlanKeyResult & WithType(const char *value)
Definition: CreateUsagePlanKeyResult.h:121
Aws::APIGateway::Model::CreateUsagePlanKeyResult::CreateUsagePlanKeyResult
CreateUsagePlanKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateUsagePlanKeyResult::SetValue
void SetValue(Aws::String &&value)
Definition: CreateUsagePlanKeyResult.h:137
Aws::APIGateway::Model::CreateUsagePlanKeyResult::WithId
CreateUsagePlanKeyResult & WithId(const char *value)
Definition: CreateUsagePlanKeyResult.h:78
Aws::APIGateway::Model::CreateUsagePlanKeyResult::GetValue
const Aws::String & GetValue() const
Definition: CreateUsagePlanKeyResult.h:127
Aws::APIGateway::Model::CreateUsagePlanKeyResult::operator=
CreateUsagePlanKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)