AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UsagePlanKey.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{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace APIGateway
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APIGATEWAY_API UsagePlanKey() = default;
36 AWS_APIGATEWAY_API UsagePlanKey(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APIGATEWAY_API UsagePlanKey& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 UsagePlanKey& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
58 inline const Aws::String& GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 template<typename TypeT = Aws::String>
61 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
62 template<typename TypeT = Aws::String>
63 UsagePlanKey& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
65
67
70 inline const Aws::String& GetValue() const { return m_value; }
71 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
72 template<typename ValueT = Aws::String>
73 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
74 template<typename ValueT = Aws::String>
75 UsagePlanKey& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
77
79
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template<typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
86 template<typename NameT = Aws::String>
87 UsagePlanKey& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
94 template<typename RequestIdT = Aws::String>
95 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
96 template<typename RequestIdT = Aws::String>
97 UsagePlanKey& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
99 private:
100
101 Aws::String m_id;
102 bool m_idHasBeenSet = false;
103
104 Aws::String m_type;
105 bool m_typeHasBeenSet = false;
106
107 Aws::String m_value;
108 bool m_valueHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_requestId;
114 bool m_requestIdHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace APIGateway
119} // namespace Aws
AWS_APIGATEWAY_API UsagePlanKey(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
UsagePlanKey & WithRequestId(RequestIdT &&value)
UsagePlanKey & WithId(IdT &&value)
UsagePlanKey & WithValue(ValueT &&value)
AWS_APIGATEWAY_API UsagePlanKey & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRequestId() const
UsagePlanKey & WithName(NameT &&value)
AWS_APIGATEWAY_API UsagePlanKey()=default
UsagePlanKey & WithType(TypeT &&value)
const Aws::String & GetType() const
const Aws::String & GetName() const
const Aws::String & GetValue() const
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue