AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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
32 {
33 public:
34 AWS_APIGATEWAY_API SdkConfigurationProperty() = default;
37 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 SdkConfigurationProperty& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_friendlyNameHasBeenSet = true; m_friendlyName = std::forward<FriendlyNameT>(value); }
60 template<typename FriendlyNameT = Aws::String>
61 SdkConfigurationProperty& WithFriendlyName(FriendlyNameT&& value) { SetFriendlyName(std::forward<FriendlyNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 SdkConfigurationProperty& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
82 inline bool GetRequired() const { return m_required; }
83 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
84 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
85 inline SdkConfigurationProperty& WithRequired(bool value) { SetRequired(value); return *this;}
87
89
92 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
93 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
94 template<typename DefaultValueT = Aws::String>
95 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
96 template<typename DefaultValueT = Aws::String>
97 SdkConfigurationProperty& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_friendlyName;
105 bool m_friendlyNameHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
110 bool m_required{false};
111 bool m_requiredHasBeenSet = false;
112
113 Aws::String m_defaultValue;
114 bool m_defaultValueHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace APIGateway
119} // 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