AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline SdkConfigurationProperty& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline SdkConfigurationProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline SdkConfigurationProperty& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetFriendlyName() const{ return m_friendlyName; }
59 inline bool FriendlyNameHasBeenSet() const { return m_friendlyNameHasBeenSet; }
60 inline void SetFriendlyName(const Aws::String& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = value; }
61 inline void SetFriendlyName(Aws::String&& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = std::move(value); }
62 inline void SetFriendlyName(const char* value) { m_friendlyNameHasBeenSet = true; m_friendlyName.assign(value); }
63 inline SdkConfigurationProperty& WithFriendlyName(const Aws::String& value) { SetFriendlyName(value); return *this;}
64 inline SdkConfigurationProperty& WithFriendlyName(Aws::String&& value) { SetFriendlyName(std::move(value)); return *this;}
65 inline SdkConfigurationProperty& WithFriendlyName(const char* value) { SetFriendlyName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline SdkConfigurationProperty& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline SdkConfigurationProperty& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline SdkConfigurationProperty& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
88 inline bool GetRequired() const{ return m_required; }
89 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
90 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
91 inline SdkConfigurationProperty& WithRequired(bool value) { SetRequired(value); return *this;}
93
95
98 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
99 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
100 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
101 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
102 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
103 inline SdkConfigurationProperty& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
104 inline SdkConfigurationProperty& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
105 inline SdkConfigurationProperty& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
107 private:
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 Aws::String m_friendlyName;
113 bool m_friendlyNameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 bool m_required;
119 bool m_requiredHasBeenSet = false;
120
121 Aws::String m_defaultValue;
122 bool m_defaultValueHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace APIGateway
127} // namespace Aws
SdkConfigurationProperty & WithRequired(bool value)
SdkConfigurationProperty & WithFriendlyName(const Aws::String &value)
SdkConfigurationProperty & WithDescription(const char *value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
SdkConfigurationProperty & WithFriendlyName(Aws::String &&value)
SdkConfigurationProperty & WithDefaultValue(Aws::String &&value)
SdkConfigurationProperty & WithDefaultValue(const char *value)
SdkConfigurationProperty & WithDescription(Aws::String &&value)
SdkConfigurationProperty & WithDescription(const Aws::String &value)
SdkConfigurationProperty & WithName(const char *value)
SdkConfigurationProperty & WithName(Aws::String &&value)
AWS_APIGATEWAY_API SdkConfigurationProperty(Aws::Utils::Json::JsonView jsonValue)
SdkConfigurationProperty & WithDefaultValue(const Aws::String &value)
SdkConfigurationProperty & WithName(const Aws::String &value)
SdkConfigurationProperty & WithFriendlyName(const char *value)
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