AWS SDK for C++  1.9.1
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 
104  inline const DataCatalogType& GetType() const{ return m_type; }
105 
114  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
115 
124  inline void SetType(const DataCatalogType& value) { m_typeHasBeenSet = true; m_type = value; }
125 
134  inline void SetType(DataCatalogType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
135 
144  inline UpdateDataCatalogRequest& WithType(const DataCatalogType& value) { SetType(value); return *this;}
145 
154  inline UpdateDataCatalogRequest& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;}
155 
156 
160  inline const Aws::String& GetDescription() const{ return m_description; }
161 
165  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
166 
170  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
171 
175  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
176 
180  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
181 
185  inline UpdateDataCatalogRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
186 
190  inline UpdateDataCatalogRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
191 
195  inline UpdateDataCatalogRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
196 
197 
216  inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
217 
236  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
237 
256  inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
257 
276  inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
277 
296  inline UpdateDataCatalogRequest& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
297 
316  inline UpdateDataCatalogRequest& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
317 
336  inline UpdateDataCatalogRequest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
337 
356  inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
357 
376  inline UpdateDataCatalogRequest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
377 
396  inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
397 
416  inline UpdateDataCatalogRequest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
417 
436  inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
437 
456  inline UpdateDataCatalogRequest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
457 
458  private:
459 
460  Aws::String m_name;
461  bool m_nameHasBeenSet;
462 
463  DataCatalogType m_type;
464  bool m_typeHasBeenSet;
465 
466  Aws::String m_description;
467  bool m_descriptionHasBeenSet;
468 
470  bool m_parametersHasBeenSet;
471  };
472 
473 } // namespace Model
474 } // namespace Athena
475 } // namespace Aws
Aws::Athena::Model::UpdateDataCatalogRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: UpdateDataCatalogRequest.h:236
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:190
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:170
Aws::Athena::Model::UpdateDataCatalogRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: UpdateDataCatalogRequest.h:114
Aws::Athena::Model::UpdateDataCatalogRequest::SetType
void SetType(const DataCatalogType &value)
Definition: UpdateDataCatalogRequest.h:124
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:216
Aws::Athena::Model::UpdateDataCatalogRequest::GetType
const DataCatalogType & GetType() const
Definition: UpdateDataCatalogRequest.h:104
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:195
Aws::Athena::Model::UpdateDataCatalogRequest::WithDescription
UpdateDataCatalogRequest & WithDescription(const Aws::String &value)
Definition: UpdateDataCatalogRequest.h:185
Aws::Athena::Model::UpdateDataCatalogRequest::SetParameters
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateDataCatalogRequest.h:256
Aws::Athena::Model::UpdateDataCatalogRequest::SetType
void SetType(DataCatalogType &&value)
Definition: UpdateDataCatalogRequest.h:134
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(Aws::String &&key, const char *value)
Definition: UpdateDataCatalogRequest.h:436
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:376
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::UpdateDataCatalogRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:175
Aws::Athena::Model::UpdateDataCatalogRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateDataCatalogRequest.h:165
Aws::Athena::Model::UpdateDataCatalogRequest::WithParameters
UpdateDataCatalogRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateDataCatalogRequest.h:316
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:396
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(const char *key, const char *value)
Definition: UpdateDataCatalogRequest.h:456
Aws::Athena::Model::UpdateDataCatalogRequest::WithParameters
UpdateDataCatalogRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateDataCatalogRequest.h:296
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:356
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:180
Aws::Athena::Model::UpdateDataCatalogRequest::WithType
UpdateDataCatalogRequest & WithType(const DataCatalogType &value)
Definition: UpdateDataCatalogRequest.h:144
Aws::Athena::Model::UpdateDataCatalogRequest
Definition: UpdateDataCatalogRequest.h:24
Aws::Athena::Model::UpdateDataCatalogRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDataCatalogRequest.h:160
Aws::Athena::Model::UpdateDataCatalogRequest::SetParameters
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateDataCatalogRequest.h:276
AthenaRequest.h
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(const Aws::String &key, const Aws::String &value)
Definition: UpdateDataCatalogRequest.h:336
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:154
Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters
UpdateDataCatalogRequest & AddParameters(const char *key, Aws::String &&value)
Definition: UpdateDataCatalogRequest.h:416