AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
SdkConfigurationProperty.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace APIGateway {
20namespace Model {
21
28 public:
29 AWS_APIGATEWAY_API SdkConfigurationProperty() = default;
32 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFriendlyName() const { return m_friendlyName; }
57 inline bool FriendlyNameHasBeenSet() const { return m_friendlyNameHasBeenSet; }
58 template <typename FriendlyNameT = Aws::String>
59 void SetFriendlyName(FriendlyNameT&& value) {
60 m_friendlyNameHasBeenSet = true;
61 m_friendlyName = std::forward<FriendlyNameT>(value);
62 }
63 template <typename FriendlyNameT = Aws::String>
65 SetFriendlyName(std::forward<FriendlyNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
94 inline bool GetRequired() const { return m_required; }
95 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
96 inline void SetRequired(bool value) {
97 m_requiredHasBeenSet = true;
98 m_required = value;
99 }
101 SetRequired(value);
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
111 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
112 template <typename DefaultValueT = Aws::String>
113 void SetDefaultValue(DefaultValueT&& value) {
114 m_defaultValueHasBeenSet = true;
115 m_defaultValue = std::forward<DefaultValueT>(value);
116 }
117 template <typename DefaultValueT = Aws::String>
119 SetDefaultValue(std::forward<DefaultValueT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_name;
125
126 Aws::String m_friendlyName;
127
128 Aws::String m_description;
129
130 bool m_required{false};
131
132 Aws::String m_defaultValue;
133 bool m_nameHasBeenSet = false;
134 bool m_friendlyNameHasBeenSet = false;
135 bool m_descriptionHasBeenSet = false;
136 bool m_requiredHasBeenSet = false;
137 bool m_defaultValueHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace APIGateway
142} // namespace Aws
SdkConfigurationProperty & WithRequired(bool value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
SdkConfigurationProperty & WithFriendlyName(FriendlyNameT &&value)
SdkConfigurationProperty & WithDescription(DescriptionT &&value)
SdkConfigurationProperty & WithName(NameT &&value)
SdkConfigurationProperty & WithDefaultValue(DefaultValueT &&value)
AWS_APIGATEWAY_API SdkConfigurationProperty(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API SdkConfigurationProperty()=default
AWS_APIGATEWAY_API SdkConfigurationProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue