AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUsagePlanKeyResult.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 GetUsagePlanKeyResult();
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 GetUsagePlanKeyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline GetUsagePlanKeyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline GetUsagePlanKeyResult& 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 GetUsagePlanKeyResult& WithType(const Aws::String& value) { SetType(value); return *this;}
64 inline GetUsagePlanKeyResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
65 inline GetUsagePlanKeyResult& 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 GetUsagePlanKeyResult& WithValue(const Aws::String& value) { SetValue(value); return *this;}
77 inline GetUsagePlanKeyResult& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
78 inline GetUsagePlanKeyResult& 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 GetUsagePlanKeyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline GetUsagePlanKeyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline GetUsagePlanKeyResult& 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 GetUsagePlanKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
101 inline GetUsagePlanKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
102 inline GetUsagePlanKeyResult& 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
GetUsagePlanKeyResult & WithId(const Aws::String &value)
GetUsagePlanKeyResult & WithName(const char *value)
GetUsagePlanKeyResult & WithType(const Aws::String &value)
GetUsagePlanKeyResult & WithValue(Aws::String &&value)
GetUsagePlanKeyResult & WithRequestId(Aws::String &&value)
GetUsagePlanKeyResult & WithValue(const Aws::String &value)
AWS_APIGATEWAY_API GetUsagePlanKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsagePlanKeyResult & WithName(const Aws::String &value)
GetUsagePlanKeyResult & WithId(Aws::String &&value)
GetUsagePlanKeyResult & WithValue(const char *value)
AWS_APIGATEWAY_API GetUsagePlanKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsagePlanKeyResult & WithId(const char *value)
GetUsagePlanKeyResult & WithRequestId(const Aws::String &value)
GetUsagePlanKeyResult & WithName(Aws::String &&value)
GetUsagePlanKeyResult & WithRequestId(const char *value)
GetUsagePlanKeyResult & WithType(Aws::String &&value)
GetUsagePlanKeyResult & WithType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue