AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateUsagePlanKeyResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace APIGateway
24{
25namespace Model
26{
34 {
35 public:
36 AWS_APIGATEWAY_API CreateUsagePlanKeyResult();
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline void SetId(const Aws::String& value) { m_id = value; }
47 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
48 inline void SetId(const char* value) { m_id.assign(value); }
49 inline CreateUsagePlanKeyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline CreateUsagePlanKeyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline CreateUsagePlanKeyResult& WithId(const char* value) { SetId(value); return *this;}
53
55
59 inline const Aws::String& GetType() const{ return m_type; }
60 inline void SetType(const Aws::String& value) { m_type = value; }
61 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
62 inline void SetType(const char* value) { m_type.assign(value); }
63 inline CreateUsagePlanKeyResult& WithType(const Aws::String& value) { SetType(value); return *this;}
64 inline CreateUsagePlanKeyResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
65 inline CreateUsagePlanKeyResult& WithType(const char* value) { SetType(value); return *this;}
67
69
72 inline const Aws::String& GetValue() const{ return m_value; }
73 inline void SetValue(const Aws::String& value) { m_value = value; }
74 inline void SetValue(Aws::String&& value) { m_value = std::move(value); }
75 inline void SetValue(const char* value) { m_value.assign(value); }
76 inline CreateUsagePlanKeyResult& WithValue(const Aws::String& value) { SetValue(value); return *this;}
77 inline CreateUsagePlanKeyResult& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
78 inline CreateUsagePlanKeyResult& WithValue(const char* value) { SetValue(value); return *this;}
80
82
85 inline const Aws::String& GetName() const{ return m_name; }
86 inline void SetName(const Aws::String& value) { m_name = value; }
87 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
88 inline void SetName(const char* value) { m_name.assign(value); }
89 inline CreateUsagePlanKeyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline CreateUsagePlanKeyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline CreateUsagePlanKeyResult& WithName(const char* value) { SetName(value); return *this;}
93
95
96 inline const Aws::String& GetRequestId() const{ return m_requestId; }
97 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
98 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
99 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
100 inline CreateUsagePlanKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
101 inline CreateUsagePlanKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
102 inline CreateUsagePlanKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
104 private:
105
106 Aws::String m_id;
107
108 Aws::String m_type;
109
110 Aws::String m_value;
111
112 Aws::String m_name;
113
114 Aws::String m_requestId;
115 };
116
117} // namespace Model
118} // namespace APIGateway
119} // namespace Aws
CreateUsagePlanKeyResult & WithValue(Aws::String &&value)
CreateUsagePlanKeyResult & WithId(const Aws::String &value)
AWS_APIGATEWAY_API CreateUsagePlanKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUsagePlanKeyResult & WithType(Aws::String &&value)
CreateUsagePlanKeyResult & WithRequestId(const Aws::String &value)
CreateUsagePlanKeyResult & WithName(const Aws::String &value)
CreateUsagePlanKeyResult & WithType(const Aws::String &value)
CreateUsagePlanKeyResult & WithValue(const char *value)
CreateUsagePlanKeyResult & WithRequestId(const char *value)
AWS_APIGATEWAY_API CreateUsagePlanKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUsagePlanKeyResult & WithName(const char *value)
CreateUsagePlanKeyResult & WithRequestId(Aws::String &&value)
CreateUsagePlanKeyResult & WithId(Aws::String &&value)
CreateUsagePlanKeyResult & WithId(const char *value)
CreateUsagePlanKeyResult & WithValue(const Aws::String &value)
CreateUsagePlanKeyResult & WithName(Aws::String &&value)
CreateUsagePlanKeyResult & WithType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue