AWS SDK for C++  1.9.16
AWS SDK for C++
SdkType.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
50  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 
55  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 
60  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 
65  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 
70  inline SdkType& WithId(const Aws::String& value) { SetId(value); return *this;}
71 
75  inline SdkType& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
80  inline SdkType& WithId(const char* value) { SetId(value); return *this;}
81 
82 
86  inline const Aws::String& GetFriendlyName() const{ return m_friendlyName; }
87 
91  inline bool FriendlyNameHasBeenSet() const { return m_friendlyNameHasBeenSet; }
92 
96  inline void SetFriendlyName(const Aws::String& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = value; }
97 
101  inline void SetFriendlyName(Aws::String&& value) { m_friendlyNameHasBeenSet = true; m_friendlyName = std::move(value); }
102 
106  inline void SetFriendlyName(const char* value) { m_friendlyNameHasBeenSet = true; m_friendlyName.assign(value); }
107 
111  inline SdkType& WithFriendlyName(const Aws::String& value) { SetFriendlyName(value); return *this;}
112 
116  inline SdkType& WithFriendlyName(Aws::String&& value) { SetFriendlyName(std::move(value)); return *this;}
117 
121  inline SdkType& WithFriendlyName(const char* value) { SetFriendlyName(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline SdkType& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline SdkType& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline SdkType& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
168  inline const Aws::Vector<SdkConfigurationProperty>& GetConfigurationProperties() const{ return m_configurationProperties; }
169 
173  inline bool ConfigurationPropertiesHasBeenSet() const { return m_configurationPropertiesHasBeenSet; }
174 
178  inline void SetConfigurationProperties(const Aws::Vector<SdkConfigurationProperty>& value) { m_configurationPropertiesHasBeenSet = true; m_configurationProperties = value; }
179 
183  inline void SetConfigurationProperties(Aws::Vector<SdkConfigurationProperty>&& value) { m_configurationPropertiesHasBeenSet = true; m_configurationProperties = std::move(value); }
184 
188  inline SdkType& WithConfigurationProperties(const Aws::Vector<SdkConfigurationProperty>& value) { SetConfigurationProperties(value); return *this;}
189 
193  inline SdkType& WithConfigurationProperties(Aws::Vector<SdkConfigurationProperty>&& value) { SetConfigurationProperties(std::move(value)); return *this;}
194 
198  inline SdkType& AddConfigurationProperties(const SdkConfigurationProperty& value) { m_configurationPropertiesHasBeenSet = true; m_configurationProperties.push_back(value); return *this; }
199 
203  inline SdkType& AddConfigurationProperties(SdkConfigurationProperty&& value) { m_configurationPropertiesHasBeenSet = true; m_configurationProperties.push_back(std::move(value)); return *this; }
204 
205  private:
206 
207  Aws::String m_id;
208  bool m_idHasBeenSet;
209 
210  Aws::String m_friendlyName;
211  bool m_friendlyNameHasBeenSet;
212 
213  Aws::String m_description;
214  bool m_descriptionHasBeenSet;
215 
216  Aws::Vector<SdkConfigurationProperty> m_configurationProperties;
217  bool m_configurationPropertiesHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace APIGateway
222 } // namespace Aws
Aws::APIGateway::Model::SdkType::SetId
void SetId(Aws::String &&value)
Definition: SdkType.h:60
Aws::APIGateway::Model::SdkType::WithFriendlyName
SdkType & WithFriendlyName(Aws::String &&value)
Definition: SdkType.h:116
Aws::APIGateway::Model::SdkType::WithDescription
SdkType & WithDescription(const Aws::String &value)
Definition: SdkType.h:152
Aws::APIGateway::Model::SdkType::SetFriendlyName
void SetFriendlyName(const Aws::String &value)
Definition: SdkType.h:96
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::SdkType::operator=
SdkType & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::SdkType::ConfigurationPropertiesHasBeenSet
bool ConfigurationPropertiesHasBeenSet() const
Definition: SdkType.h:173
Aws::APIGateway::Model::SdkType::SetId
void SetId(const Aws::String &value)
Definition: SdkType.h:55
Aws::APIGateway::Model::SdkType::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::APIGateway::Model::SdkType::AddConfigurationProperties
SdkType & AddConfigurationProperties(SdkConfigurationProperty &&value)
Definition: SdkType.h:203
SdkConfigurationProperty.h
Aws::APIGateway::Model::SdkType::WithConfigurationProperties
SdkType & WithConfigurationProperties(const Aws::Vector< SdkConfigurationProperty > &value)
Definition: SdkType.h:188
Aws::APIGateway::Model::SdkType::WithConfigurationProperties
SdkType & WithConfigurationProperties(Aws::Vector< SdkConfigurationProperty > &&value)
Definition: SdkType.h:193
Aws::APIGateway::Model::SdkType::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: SdkType.h:132
Aws::APIGateway::Model::SdkType::SetFriendlyName
void SetFriendlyName(const char *value)
Definition: SdkType.h:106
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::SdkType::SetDescription
void SetDescription(Aws::String &&value)
Definition: SdkType.h:142
Aws::APIGateway::Model::SdkType::WithFriendlyName
SdkType & WithFriendlyName(const Aws::String &value)
Definition: SdkType.h:111
AWSVector.h
Aws::APIGateway::Model::SdkType::SdkType
SdkType(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::SdkType::GetFriendlyName
const Aws::String & GetFriendlyName() const
Definition: SdkType.h:86
Aws::APIGateway::Model::SdkType::WithDescription
SdkType & WithDescription(Aws::String &&value)
Definition: SdkType.h:157
Aws::APIGateway::Model::SdkType::WithDescription
SdkType & WithDescription(const char *value)
Definition: SdkType.h:162
Aws::APIGateway::Model::SdkType::AddConfigurationProperties
SdkType & AddConfigurationProperties(const SdkConfigurationProperty &value)
Definition: SdkType.h:198
Aws::APIGateway::Model::SdkType::SdkType
SdkType()
Aws::APIGateway::Model::SdkType::GetDescription
const Aws::String & GetDescription() const
Definition: SdkType.h:127
Aws::APIGateway::Model::SdkType::FriendlyNameHasBeenSet
bool FriendlyNameHasBeenSet() const
Definition: SdkType.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::APIGateway::Model::SdkType::SetConfigurationProperties
void SetConfigurationProperties(const Aws::Vector< SdkConfigurationProperty > &value)
Definition: SdkType.h:178
Aws::APIGateway::Model::SdkType::WithId
SdkType & WithId(const Aws::String &value)
Definition: SdkType.h:70
Aws::APIGateway::Model::SdkType::WithFriendlyName
SdkType & WithFriendlyName(const char *value)
Definition: SdkType.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::SdkType::SetDescription
void SetDescription(const char *value)
Definition: SdkType.h:147
Aws::APIGateway::Model::SdkType::SetId
void SetId(const char *value)
Definition: SdkType.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::SdkType::IdHasBeenSet
bool IdHasBeenSet() const
Definition: SdkType.h:50
Aws::APIGateway::Model::SdkConfigurationProperty
Definition: SdkConfigurationProperty.h:32
Aws::APIGateway::Model::SdkType::GetConfigurationProperties
const Aws::Vector< SdkConfigurationProperty > & GetConfigurationProperties() const
Definition: SdkType.h:168
Aws::APIGateway::Model::SdkType::SetFriendlyName
void SetFriendlyName(Aws::String &&value)
Definition: SdkType.h:101
Aws::APIGateway::Model::SdkType::GetId
const Aws::String & GetId() const
Definition: SdkType.h:45
Aws::APIGateway::Model::SdkType::WithId
SdkType & WithId(const char *value)
Definition: SdkType.h:80
Aws::APIGateway::Model::SdkType
Definition: SdkType.h:34
Aws::APIGateway::Model::SdkType::SetDescription
void SetDescription(const Aws::String &value)
Definition: SdkType.h:137
Aws::APIGateway::Model::SdkType::WithId
SdkType & WithId(Aws::String &&value)
Definition: SdkType.h:75
Aws::APIGateway::Model::SdkType::SetConfigurationProperties
void SetConfigurationProperties(Aws::Vector< SdkConfigurationProperty > &&value)
Definition: SdkType.h:183