AWS SDK for C++  1.9.40
AWS SDK for C++
PutDataCatalogEncryptionSettingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Glue
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "PutDataCatalogEncryptionSettings"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
43 
48  inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
49 
54  inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
55 
60  inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
61 
66  inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
67 
72  inline PutDataCatalogEncryptionSettingsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
73 
78  inline PutDataCatalogEncryptionSettingsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
79 
84  inline PutDataCatalogEncryptionSettingsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
85 
86 
90  inline const DataCatalogEncryptionSettings& GetDataCatalogEncryptionSettings() const{ return m_dataCatalogEncryptionSettings; }
91 
95  inline bool DataCatalogEncryptionSettingsHasBeenSet() const { return m_dataCatalogEncryptionSettingsHasBeenSet; }
96 
100  inline void SetDataCatalogEncryptionSettings(const DataCatalogEncryptionSettings& value) { m_dataCatalogEncryptionSettingsHasBeenSet = true; m_dataCatalogEncryptionSettings = value; }
101 
105  inline void SetDataCatalogEncryptionSettings(DataCatalogEncryptionSettings&& value) { m_dataCatalogEncryptionSettingsHasBeenSet = true; m_dataCatalogEncryptionSettings = std::move(value); }
106 
110  inline PutDataCatalogEncryptionSettingsRequest& WithDataCatalogEncryptionSettings(const DataCatalogEncryptionSettings& value) { SetDataCatalogEncryptionSettings(value); return *this;}
111 
115  inline PutDataCatalogEncryptionSettingsRequest& WithDataCatalogEncryptionSettings(DataCatalogEncryptionSettings&& value) { SetDataCatalogEncryptionSettings(std::move(value)); return *this;}
116 
117  private:
118 
119  Aws::String m_catalogId;
120  bool m_catalogIdHasBeenSet;
121 
122  DataCatalogEncryptionSettings m_dataCatalogEncryptionSettings;
123  bool m_dataCatalogEncryptionSettingsHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace Glue
128 } // namespace Aws
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::CatalogIdHasBeenSet
bool CatalogIdHasBeenSet() const
Definition: PutDataCatalogEncryptionSettingsRequest.h:48
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::SetDataCatalogEncryptionSettings
void SetDataCatalogEncryptionSettings(DataCatalogEncryptionSettings &&value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:105
DataCatalogEncryptionSettings.h
Glue_EXPORTS.h
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::SetDataCatalogEncryptionSettings
void SetDataCatalogEncryptionSettings(const DataCatalogEncryptionSettings &value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:100
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::SetCatalogId
void SetCatalogId(const Aws::String &value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:54
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::WithCatalogId
PutDataCatalogEncryptionSettingsRequest & WithCatalogId(const char *value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:84
Aws::Glue::Model::DataCatalogEncryptionSettings
Definition: DataCatalogEncryptionSettings.h:34
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::SetCatalogId
void SetCatalogId(const char *value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:66
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::WithDataCatalogEncryptionSettings
PutDataCatalogEncryptionSettingsRequest & WithDataCatalogEncryptionSettings(DataCatalogEncryptionSettings &&value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:115
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::WithDataCatalogEncryptionSettings
PutDataCatalogEncryptionSettingsRequest & WithDataCatalogEncryptionSettings(const DataCatalogEncryptionSettings &value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:110
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::PutDataCatalogEncryptionSettingsRequest
PutDataCatalogEncryptionSettingsRequest()
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutDataCatalogEncryptionSettingsRequest.h:31
AWSString.h
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::WithCatalogId
PutDataCatalogEncryptionSettingsRequest & WithCatalogId(const Aws::String &value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:72
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest
Definition: PutDataCatalogEncryptionSettingsRequest.h:23
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::WithCatalogId
PutDataCatalogEncryptionSettingsRequest & WithCatalogId(Aws::String &&value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:78
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::DataCatalogEncryptionSettingsHasBeenSet
bool DataCatalogEncryptionSettingsHasBeenSet() const
Definition: PutDataCatalogEncryptionSettingsRequest.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::SetCatalogId
void SetCatalogId(Aws::String &&value)
Definition: PutDataCatalogEncryptionSettingsRequest.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::GetDataCatalogEncryptionSettings
const DataCatalogEncryptionSettings & GetDataCatalogEncryptionSettings() const
Definition: PutDataCatalogEncryptionSettingsRequest.h:90
Aws::Glue::Model::PutDataCatalogEncryptionSettingsRequest::GetCatalogId
const Aws::String & GetCatalogId() const
Definition: PutDataCatalogEncryptionSettingsRequest.h:42
GlueRequest.h