AWS SDK for C++  1.9.104
AWS SDK for C++
StopStreamEncryptionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Kinesis
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 "StopStreamEncryption"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetStreamName() const{ return m_streamName; }
42 
46  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
47 
51  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
52 
56  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
57 
61  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
62 
66  inline StopStreamEncryptionRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
67 
71  inline StopStreamEncryptionRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
72 
76  inline StopStreamEncryptionRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
77 
78 
82  inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
83 
87  inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
88 
92  inline void SetEncryptionType(const EncryptionType& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
93 
97  inline void SetEncryptionType(EncryptionType&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
98 
102  inline StopStreamEncryptionRequest& WithEncryptionType(const EncryptionType& value) { SetEncryptionType(value); return *this;}
103 
107  inline StopStreamEncryptionRequest& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
108 
109 
124  inline const Aws::String& GetKeyId() const{ return m_keyId; }
125 
140  inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
141 
156  inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
157 
172  inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
173 
188  inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
189 
204  inline StopStreamEncryptionRequest& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
205 
220  inline StopStreamEncryptionRequest& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
221 
236  inline StopStreamEncryptionRequest& WithKeyId(const char* value) { SetKeyId(value); return *this;}
237 
238  private:
239 
240  Aws::String m_streamName;
241  bool m_streamNameHasBeenSet;
242 
243  EncryptionType m_encryptionType;
244  bool m_encryptionTypeHasBeenSet;
245 
246  Aws::String m_keyId;
247  bool m_keyIdHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace Kinesis
252 } // namespace Aws
Aws::Kinesis::Model::StopStreamEncryptionRequest::WithStreamName
StopStreamEncryptionRequest & WithStreamName(Aws::String &&value)
Definition: StopStreamEncryptionRequest.h:71
Aws::Kinesis::Model::StopStreamEncryptionRequest::EncryptionTypeHasBeenSet
bool EncryptionTypeHasBeenSet() const
Definition: StopStreamEncryptionRequest.h:87
Aws::Kinesis::Model::StopStreamEncryptionRequest::SetEncryptionType
void SetEncryptionType(EncryptionType &&value)
Definition: StopStreamEncryptionRequest.h:97
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Kinesis::Model::StopStreamEncryptionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kinesis::Model::StopStreamEncryptionRequest::SetStreamName
void SetStreamName(const char *value)
Definition: StopStreamEncryptionRequest.h:61
EncryptionType.h
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::StopStreamEncryptionRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: StopStreamEncryptionRequest.h:41
Aws::Kinesis::Model::StopStreamEncryptionRequest
Definition: StopStreamEncryptionRequest.h:23
Aws::Kinesis::Model::StopStreamEncryptionRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: StopStreamEncryptionRequest.h:51
Aws::Kinesis::Model::StopStreamEncryptionRequest::WithStreamName
StopStreamEncryptionRequest & WithStreamName(const Aws::String &value)
Definition: StopStreamEncryptionRequest.h:66
Aws::Kinesis::Model::StopStreamEncryptionRequest::WithKeyId
StopStreamEncryptionRequest & WithKeyId(Aws::String &&value)
Definition: StopStreamEncryptionRequest.h:220
KinesisRequest.h
Aws::Kinesis::Model::StopStreamEncryptionRequest::WithStreamName
StopStreamEncryptionRequest & WithStreamName(const char *value)
Definition: StopStreamEncryptionRequest.h:76
Aws::Kinesis::Model::StopStreamEncryptionRequest::WithKeyId
StopStreamEncryptionRequest & WithKeyId(const char *value)
Definition: StopStreamEncryptionRequest.h:236
Aws::Kinesis::Model::StopStreamEncryptionRequest::KeyIdHasBeenSet
bool KeyIdHasBeenSet() const
Definition: StopStreamEncryptionRequest.h:140
Aws::Kinesis::Model::StopStreamEncryptionRequest::SetKeyId
void SetKeyId(const Aws::String &value)
Definition: StopStreamEncryptionRequest.h:156
Aws::Kinesis::Model::StopStreamEncryptionRequest::SetKeyId
void SetKeyId(const char *value)
Definition: StopStreamEncryptionRequest.h:188
Aws::Kinesis::Model::StopStreamEncryptionRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: StopStreamEncryptionRequest.h:56
AWSString.h
Aws::Kinesis::Model::StopStreamEncryptionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Kinesis::KinesisRequest
Definition: KinesisRequest.h:17
Kinesis_EXPORTS.h
Aws::Kinesis::Model::StopStreamEncryptionRequest::WithKeyId
StopStreamEncryptionRequest & WithKeyId(const Aws::String &value)
Definition: StopStreamEncryptionRequest.h:204
Aws::Kinesis::Model::EncryptionType
EncryptionType
Definition: EncryptionType.h:17
Aws::Kinesis::Model::StopStreamEncryptionRequest::SetEncryptionType
void SetEncryptionType(const EncryptionType &value)
Definition: StopStreamEncryptionRequest.h:92
Aws::Kinesis::Model::StopStreamEncryptionRequest::GetEncryptionType
const EncryptionType & GetEncryptionType() const
Definition: StopStreamEncryptionRequest.h:82
Aws::Kinesis::Model::StopStreamEncryptionRequest::WithEncryptionType
StopStreamEncryptionRequest & WithEncryptionType(EncryptionType &&value)
Definition: StopStreamEncryptionRequest.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::StopStreamEncryptionRequest::SetKeyId
void SetKeyId(Aws::String &&value)
Definition: StopStreamEncryptionRequest.h:172
Aws::Kinesis::Model::StopStreamEncryptionRequest::WithEncryptionType
StopStreamEncryptionRequest & WithEncryptionType(const EncryptionType &value)
Definition: StopStreamEncryptionRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::StopStreamEncryptionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StopStreamEncryptionRequest.h:31
Aws::Kinesis::Model::StopStreamEncryptionRequest::StopStreamEncryptionRequest
StopStreamEncryptionRequest()
Aws::Kinesis::Model::StopStreamEncryptionRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: StopStreamEncryptionRequest.h:46
Aws::Kinesis::Model::StopStreamEncryptionRequest::GetKeyId
const Aws::String & GetKeyId() const
Definition: StopStreamEncryptionRequest.h:124