AWS SDK for C++  1.9.20
AWS SDK for C++
SdkConfigurationProperty.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace APIGateway
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline SdkConfigurationProperty& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline SdkConfigurationProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline SdkConfigurationProperty& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetFriendlyName() const{ return m_friendlyName; }
85 
89  inline bool FriendlyNameHasBeenSet() const { return m_friendlyNameHasBeenSet; }
90 
94  inline void SetFriendlyName(const Aws::String& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = value; }
95 
99  inline void SetFriendlyName(Aws::String&& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = std::move(value); }
100 
104  inline void SetFriendlyName(const char* value) { m_friendlyNameHasBeenSet = true; m_friendlyName.assign(value); }
105 
109  inline SdkConfigurationProperty& WithFriendlyName(const Aws::String& value) { SetFriendlyName(value); return *this;}
110 
114  inline SdkConfigurationProperty& WithFriendlyName(Aws::String&& value) { SetFriendlyName(std::move(value)); return *this;}
115 
119  inline SdkConfigurationProperty& WithFriendlyName(const char* value) { SetFriendlyName(value); return *this;}
120 
121 
125  inline const Aws::String& GetDescription() const{ return m_description; }
126 
130  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
131 
135  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
136 
140  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
141 
145  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
146 
150  inline SdkConfigurationProperty& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
151 
155  inline SdkConfigurationProperty& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
156 
160  inline SdkConfigurationProperty& WithDescription(const char* value) { SetDescription(value); return *this;}
161 
162 
168  inline bool GetRequired() const{ return m_required; }
169 
175  inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
176 
182  inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
183 
189  inline SdkConfigurationProperty& WithRequired(bool value) { SetRequired(value); return *this;}
190 
191 
195  inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
196 
200  inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
201 
205  inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
206 
210  inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
211 
215  inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
216 
220  inline SdkConfigurationProperty& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
221 
225  inline SdkConfigurationProperty& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
226 
230  inline SdkConfigurationProperty& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
231 
232  private:
233 
234  Aws::String m_name;
235  bool m_nameHasBeenSet;
236 
237  Aws::String m_friendlyName;
238  bool m_friendlyNameHasBeenSet;
239 
240  Aws::String m_description;
241  bool m_descriptionHasBeenSet;
242 
243  bool m_required;
244  bool m_requiredHasBeenSet;
245 
246  Aws::String m_defaultValue;
247  bool m_defaultValueHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace APIGateway
252 } // namespace Aws
Aws::APIGateway::Model::SdkConfigurationProperty::GetName
const Aws::String & GetName() const
Definition: SdkConfigurationProperty.h:43
Aws::APIGateway::Model::SdkConfigurationProperty::WithName
SdkConfigurationProperty & WithName(const Aws::String &value)
Definition: SdkConfigurationProperty.h:68
Aws::APIGateway::Model::SdkConfigurationProperty::WithDescription
SdkConfigurationProperty & WithDescription(const char *value)
Definition: SdkConfigurationProperty.h:160
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::SdkConfigurationProperty::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: SdkConfigurationProperty.h:130
Aws::APIGateway::Model::SdkConfigurationProperty::WithDescription
SdkConfigurationProperty & WithDescription(const Aws::String &value)
Definition: SdkConfigurationProperty.h:150
APIGateway_EXPORTS.h
Aws::APIGateway::Model::SdkConfigurationProperty::SetName
void SetName(const char *value)
Definition: SdkConfigurationProperty.h:63
Aws::APIGateway::Model::SdkConfigurationProperty::WithFriendlyName
SdkConfigurationProperty & WithFriendlyName(Aws::String &&value)
Definition: SdkConfigurationProperty.h:114
Aws::APIGateway::Model::SdkConfigurationProperty::SetName
void SetName(Aws::String &&value)
Definition: SdkConfigurationProperty.h:58
Aws::APIGateway::Model::SdkConfigurationProperty::operator=
SdkConfigurationProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::SdkConfigurationProperty::WithName
SdkConfigurationProperty & WithName(const char *value)
Definition: SdkConfigurationProperty.h:78
Aws::APIGateway::Model::SdkConfigurationProperty::WithFriendlyName
SdkConfigurationProperty & WithFriendlyName(const char *value)
Definition: SdkConfigurationProperty.h:119
Aws::APIGateway::Model::SdkConfigurationProperty::SetDescription
void SetDescription(Aws::String &&value)
Definition: SdkConfigurationProperty.h:140
Aws::APIGateway::Model::SdkConfigurationProperty::GetDescription
const Aws::String & GetDescription() const
Definition: SdkConfigurationProperty.h:125
Aws::APIGateway::Model::SdkConfigurationProperty::SetFriendlyName
void SetFriendlyName(const char *value)
Definition: SdkConfigurationProperty.h:104
Aws::APIGateway::Model::SdkConfigurationProperty::WithDefaultValue
SdkConfigurationProperty & WithDefaultValue(const char *value)
Definition: SdkConfigurationProperty.h:230
Aws::APIGateway::Model::SdkConfigurationProperty::SetDefaultValue
void SetDefaultValue(const Aws::String &value)
Definition: SdkConfigurationProperty.h:205
Aws::APIGateway::Model::SdkConfigurationProperty::SetDefaultValue
void SetDefaultValue(const char *value)
Definition: SdkConfigurationProperty.h:215
Aws::APIGateway::Model::SdkConfigurationProperty::SetRequired
void SetRequired(bool value)
Definition: SdkConfigurationProperty.h:182
Aws::APIGateway::Model::SdkConfigurationProperty::DefaultValueHasBeenSet
bool DefaultValueHasBeenSet() const
Definition: SdkConfigurationProperty.h:200
Aws::APIGateway::Model::SdkConfigurationProperty::WithDefaultValue
SdkConfigurationProperty & WithDefaultValue(const Aws::String &value)
Definition: SdkConfigurationProperty.h:220
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::APIGateway::Model::SdkConfigurationProperty::SetFriendlyName
void SetFriendlyName(const Aws::String &value)
Definition: SdkConfigurationProperty.h:94
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::APIGateway::Model::SdkConfigurationProperty::WithDefaultValue
SdkConfigurationProperty & WithDefaultValue(Aws::String &&value)
Definition: SdkConfigurationProperty.h:225
Aws::APIGateway::Model::SdkConfigurationProperty::GetRequired
bool GetRequired() const
Definition: SdkConfigurationProperty.h:168
Aws::APIGateway::Model::SdkConfigurationProperty::SdkConfigurationProperty
SdkConfigurationProperty()
Aws::APIGateway::Model::SdkConfigurationProperty::GetDefaultValue
const Aws::String & GetDefaultValue() const
Definition: SdkConfigurationProperty.h:195
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::SdkConfigurationProperty::WithRequired
SdkConfigurationProperty & WithRequired(bool value)
Definition: SdkConfigurationProperty.h:189
Aws::APIGateway::Model::SdkConfigurationProperty::SetFriendlyName
void SetFriendlyName(Aws::String &&value)
Definition: SdkConfigurationProperty.h:99
Aws::APIGateway::Model::SdkConfigurationProperty::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::SdkConfigurationProperty
Definition: SdkConfigurationProperty.h:32
Aws::APIGateway::Model::SdkConfigurationProperty::RequiredHasBeenSet
bool RequiredHasBeenSet() const
Definition: SdkConfigurationProperty.h:175
Aws::APIGateway::Model::SdkConfigurationProperty::SdkConfigurationProperty
SdkConfigurationProperty(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::SdkConfigurationProperty::SetDescription
void SetDescription(const Aws::String &value)
Definition: SdkConfigurationProperty.h:135
Aws::APIGateway::Model::SdkConfigurationProperty::WithDescription
SdkConfigurationProperty & WithDescription(Aws::String &&value)
Definition: SdkConfigurationProperty.h:155
Aws::APIGateway::Model::SdkConfigurationProperty::SetName
void SetName(const Aws::String &value)
Definition: SdkConfigurationProperty.h:53
Aws::APIGateway::Model::SdkConfigurationProperty::WithFriendlyName
SdkConfigurationProperty & WithFriendlyName(const Aws::String &value)
Definition: SdkConfigurationProperty.h:109
Aws::APIGateway::Model::SdkConfigurationProperty::GetFriendlyName
const Aws::String & GetFriendlyName() const
Definition: SdkConfigurationProperty.h:84
Aws::APIGateway::Model::SdkConfigurationProperty::SetDescription
void SetDescription(const char *value)
Definition: SdkConfigurationProperty.h:145
Aws::APIGateway::Model::SdkConfigurationProperty::FriendlyNameHasBeenSet
bool FriendlyNameHasBeenSet() const
Definition: SdkConfigurationProperty.h:89
Aws::APIGateway::Model::SdkConfigurationProperty::SetDefaultValue
void SetDefaultValue(Aws::String &&value)
Definition: SdkConfigurationProperty.h:210
Aws::APIGateway::Model::SdkConfigurationProperty::NameHasBeenSet
bool NameHasBeenSet() const
Definition: SdkConfigurationProperty.h:48
Aws::APIGateway::Model::SdkConfigurationProperty::WithName
SdkConfigurationProperty & WithName(Aws::String &&value)
Definition: SdkConfigurationProperty.h:73