AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 template<typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
48 template<typename IdT = Aws::String>
49 CreateUsagePlanKeyResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
57 inline const Aws::String& GetType() const { return m_type; }
58 template<typename TypeT = Aws::String>
59 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
60 template<typename TypeT = Aws::String>
61 CreateUsagePlanKeyResult& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
63
65
68 inline const Aws::String& GetValue() const { return m_value; }
69 template<typename ValueT = Aws::String>
70 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
71 template<typename ValueT = Aws::String>
72 CreateUsagePlanKeyResult& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 template<typename NameT = Aws::String>
81 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
82 template<typename NameT = Aws::String>
83 CreateUsagePlanKeyResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template<typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
91 template<typename RequestIdT = Aws::String>
92 CreateUsagePlanKeyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
94 private:
95
96 Aws::String m_id;
97 bool m_idHasBeenSet = false;
98
99 Aws::String m_type;
100 bool m_typeHasBeenSet = false;
101
102 Aws::String m_value;
103 bool m_valueHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Aws::String m_requestId;
109 bool m_requestIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace APIGateway
114} // namespace Aws
AWS_APIGATEWAY_API CreateUsagePlanKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUsagePlanKeyResult & WithType(TypeT &&value)
AWS_APIGATEWAY_API CreateUsagePlanKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUsagePlanKeyResult & WithId(IdT &&value)
AWS_APIGATEWAY_API CreateUsagePlanKeyResult()=default
CreateUsagePlanKeyResult & WithRequestId(RequestIdT &&value)
CreateUsagePlanKeyResult & WithName(NameT &&value)
CreateUsagePlanKeyResult & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue