AWS SDK for C++  1.9.105
AWS SDK for C++
UpdateDataCatalogRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Athena
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateDataCatalog"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
58  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 
65  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 
72  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 
79  inline UpdateDataCatalogRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
80 
86  inline UpdateDataCatalogRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
87 
93  inline UpdateDataCatalogRequest& WithName(const char* value) { SetName(value); return *this;}
94 
95 
101  inline const DataCatalogType& GetType() const{ return m_type; }
102 
108  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
109 
115  inline void SetType(const DataCatalogType& value) { m_typeHasBeenSet = true; m_type = value; }
116 
122  inline void SetType(DataCatalogType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
123 
129  inline UpdateDataCatalogRequest& WithType(const DataCatalogType& value) { SetType(value); return *this;}
130 
136  inline UpdateDataCatalogRequest& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;}
137 
138 
142  inline const Aws::String& GetDescription() const{ return m_description; }
143 
147  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
148 
152  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
153 
157  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
158 
162  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
163 
167  inline UpdateDataCatalogRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
168 
172  inline UpdateDataCatalogRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
173 
177  inline UpdateDataCatalogRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
178 
179 
198  inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
199 
218  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
219 
238  inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
239 
258  inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
259 
278  inline UpdateDataCatalogRequest& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
279 
298  inline UpdateDataCatalogRequest& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
299 
318  inline UpdateDataCatalogRequest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
319 
338  inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
339 
358  inline UpdateDataCatalogRequest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
359 
378  inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
379 
398  inline UpdateDataCatalogRequest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
399 
418  inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
419 
438  inline UpdateDataCatalogRequest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
439 
440  private:
441 
442  Aws::String m_name;
443  bool m_nameHasBeenSet;
444 
445  DataCatalogType m_type;
446  bool m_typeHasBeenSet;
447 
448  Aws::String m_description;
449  bool m_descriptionHasBeenSet;
450 
452  bool m_parametersHasBeenSet;
453  };
454 
455 } // namespace Model
456 } // namespace Athena
457 } // namespace Aws
Aws::Athena::Model::UpdateDataCatalogRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: UpdateDataCatalogRequest.h:218
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Athena::Model::UpdateDataCatalogRequest::WithDescription
UpdateDataCatalogRequest & WithDescription(Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:172
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::AthenaRequest
Definition: AthenaRequest.h:17
Aws::Athena::Model::UpdateDataCatalogRequest::SetName
void SetName(const char *value)
Definition: UpdateDataCatalogRequest.h:72
Aws::Athena::Model::UpdateDataCatalogRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDataCatalogRequest.h:152
Aws::Athena::Model::UpdateDataCatalogRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: UpdateDataCatalogRequest.h:108
Aws::Athena::Model::UpdateDataCatalogRequest::SetType
void SetType(const DataCatalogType &value)
Definition: UpdateDataCatalogRequest.h:115
DataCatalogType.h
Aws::Athena::Model::UpdateDataCatalogRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Athena::Model::UpdateDataCatalogRequest::GetName
const Aws::String & GetName() const
Definition: UpdateDataCatalogRequest.h:44
Aws::Athena::Model::UpdateDataCatalogRequest::GetParameters
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition: UpdateDataCatalogRequest.h:198
Aws::Athena::Model::UpdateDataCatalogRequest::GetType
const DataCatalogType & GetType() const
Definition: UpdateDataCatalogRequest.h:101
Aws::Athena::Model::UpdateDataCatalogRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateDataCatalogRequest.h:51
Aws::Athena::Model::UpdateDataCatalogRequest::WithDescription
UpdateDataCatalogRequest & WithDescription(const char *value)
Definition: UpdateDataCatalogRequest.h:177
Aws::Athena::Model::UpdateDataCatalogRequest::WithDescription
UpdateDataCatalogRequest & WithDescription(const Aws::String &value)
Definition: UpdateDataCatalogRequest.h:167
Aws::Athena::Model::UpdateDataCatalogRequest::SetParameters
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateDataCatalogRequest.h:238
Aws::Athena::Model::UpdateDataCatalogRequest::SetType
void SetType(DataCatalogType &&value)
Definition: UpdateDataCatalogRequest.h:122
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(Aws::String &&key, const char *value)
Definition: UpdateDataCatalogRequest.h:418
Aws::Athena::Model::UpdateDataCatalogRequest::WithName
UpdateDataCatalogRequest & WithName(const char *value)
Definition: UpdateDataCatalogRequest.h:93
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(const Aws::String &key, Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:358
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::UpdateDataCatalogRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:157
Aws::Athena::Model::UpdateDataCatalogRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateDataCatalogRequest.h:147
Aws::Athena::Model::UpdateDataCatalogRequest::WithParameters
UpdateDataCatalogRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateDataCatalogRequest.h:298
Aws::Athena::Model::UpdateDataCatalogRequest::WithName
UpdateDataCatalogRequest & WithName(const Aws::String &value)
Definition: UpdateDataCatalogRequest.h:79
Aws::Athena::Model::UpdateDataCatalogRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateDataCatalogRequest.h:58
Aws::Athena::Model::UpdateDataCatalogRequest::UpdateDataCatalogRequest
UpdateDataCatalogRequest()
Aws::Athena::Model::UpdateDataCatalogRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDataCatalogRequest.h:32
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(Aws::String &&key, Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:378
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(const char *key, const char *value)
Definition: UpdateDataCatalogRequest.h:438
Aws::Athena::Model::UpdateDataCatalogRequest::WithParameters
UpdateDataCatalogRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateDataCatalogRequest.h:278
Aws::Athena::Model::UpdateDataCatalogRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(Aws::String &&key, const Aws::String &value)
Definition: UpdateDataCatalogRequest.h:338
Aws::Athena::Model::UpdateDataCatalogRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::UpdateDataCatalogRequest::WithName
UpdateDataCatalogRequest & WithName(Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:86
Aws::Athena::Model::UpdateDataCatalogRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateDataCatalogRequest.h:162
Aws::Athena::Model::UpdateDataCatalogRequest::WithType
UpdateDataCatalogRequest & WithType(const DataCatalogType &value)
Definition: UpdateDataCatalogRequest.h:129
Aws::Athena::Model::UpdateDataCatalogRequest
Definition: UpdateDataCatalogRequest.h:24
Aws::Athena::Model::UpdateDataCatalogRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDataCatalogRequest.h:142
Aws::Athena::Model::UpdateDataCatalogRequest::SetParameters
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateDataCatalogRequest.h:258
AthenaRequest.h
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(const Aws::String &key, const Aws::String &value)
Definition: UpdateDataCatalogRequest.h:318
Aws::Athena::Model::DataCatalogType
DataCatalogType
Definition: DataCatalogType.h:17
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Athena::Model::UpdateDataCatalogRequest::WithType
UpdateDataCatalogRequest & WithType(DataCatalogType &&value)
Definition: UpdateDataCatalogRequest.h:136
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(const char *key, Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:398