AWS SDK for C++  1.9.123
AWS SDK for C++
StartDeliveryStreamEncryptionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Firehose
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 "StartDeliveryStreamEncryption"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
43 
48  inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
49 
54  inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
55 
60  inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
61 
66  inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
67 
72  inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
73 
78  inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
79 
84  inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
85 
86 
91  inline const DeliveryStreamEncryptionConfigurationInput& GetDeliveryStreamEncryptionConfigurationInput() const{ return m_deliveryStreamEncryptionConfigurationInput; }
92 
97  inline bool DeliveryStreamEncryptionConfigurationInputHasBeenSet() const { return m_deliveryStreamEncryptionConfigurationInputHasBeenSet; }
98 
103  inline void SetDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput& value) { m_deliveryStreamEncryptionConfigurationInputHasBeenSet = true; m_deliveryStreamEncryptionConfigurationInput = value; }
104 
109  inline void SetDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput&& value) { m_deliveryStreamEncryptionConfigurationInputHasBeenSet = true; m_deliveryStreamEncryptionConfigurationInput = std::move(value); }
110 
115  inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput& value) { SetDeliveryStreamEncryptionConfigurationInput(value); return *this;}
116 
121  inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput&& value) { SetDeliveryStreamEncryptionConfigurationInput(std::move(value)); return *this;}
122 
123  private:
124 
125  Aws::String m_deliveryStreamName;
126  bool m_deliveryStreamNameHasBeenSet;
127 
128  DeliveryStreamEncryptionConfigurationInput m_deliveryStreamEncryptionConfigurationInput;
129  bool m_deliveryStreamEncryptionConfigurationInputHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace Firehose
134 } // namespace Aws
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Firehose::FirehoseRequest
Definition: FirehoseRequest.h:17
DeliveryStreamEncryptionConfigurationInput.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::WithDeliveryStreamEncryptionConfigurationInput
StartDeliveryStreamEncryptionRequest & WithDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput &&value)
Definition: StartDeliveryStreamEncryptionRequest.h:121
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::WithDeliveryStreamName
StartDeliveryStreamEncryptionRequest & WithDeliveryStreamName(const Aws::String &value)
Definition: StartDeliveryStreamEncryptionRequest.h:72
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::WithDeliveryStreamName
StartDeliveryStreamEncryptionRequest & WithDeliveryStreamName(Aws::String &&value)
Definition: StartDeliveryStreamEncryptionRequest.h:78
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::SetDeliveryStreamName
void SetDeliveryStreamName(const char *value)
Definition: StartDeliveryStreamEncryptionRequest.h:66
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::DeliveryStreamEncryptionConfigurationInputHasBeenSet
bool DeliveryStreamEncryptionConfigurationInputHasBeenSet() const
Definition: StartDeliveryStreamEncryptionRequest.h:97
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::GetDeliveryStreamEncryptionConfigurationInput
const DeliveryStreamEncryptionConfigurationInput & GetDeliveryStreamEncryptionConfigurationInput() const
Definition: StartDeliveryStreamEncryptionRequest.h:91
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::SetDeliveryStreamEncryptionConfigurationInput
void SetDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput &value)
Definition: StartDeliveryStreamEncryptionRequest.h:103
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartDeliveryStreamEncryptionRequest.h:31
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::StartDeliveryStreamEncryptionRequest
StartDeliveryStreamEncryptionRequest()
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest
Definition: StartDeliveryStreamEncryptionRequest.h:23
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
AWSString.h
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::WithDeliveryStreamName
StartDeliveryStreamEncryptionRequest & WithDeliveryStreamName(const char *value)
Definition: StartDeliveryStreamEncryptionRequest.h:84
Firehose_EXPORTS.h
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::GetDeliveryStreamName
const Aws::String & GetDeliveryStreamName() const
Definition: StartDeliveryStreamEncryptionRequest.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::SetDeliveryStreamName
void SetDeliveryStreamName(const Aws::String &value)
Definition: StartDeliveryStreamEncryptionRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
FirehoseRequest.h
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::SetDeliveryStreamName
void SetDeliveryStreamName(Aws::String &&value)
Definition: StartDeliveryStreamEncryptionRequest.h:60
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::SetDeliveryStreamEncryptionConfigurationInput
void SetDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput &&value)
Definition: StartDeliveryStreamEncryptionRequest.h:109
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::WithDeliveryStreamEncryptionConfigurationInput
StartDeliveryStreamEncryptionRequest & WithDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput &value)
Definition: StartDeliveryStreamEncryptionRequest.h:115
Aws::Firehose::Model::StartDeliveryStreamEncryptionRequest::DeliveryStreamNameHasBeenSet
bool DeliveryStreamNameHasBeenSet() const
Definition: StartDeliveryStreamEncryptionRequest.h:48
Aws::Firehose::Model::DeliveryStreamEncryptionConfigurationInput
Definition: DeliveryStreamEncryptionConfigurationInput.h:34