AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteStreamRequest.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Kinesis
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_KINESIS_API DeleteStreamRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteStream"; }
34
35 AWS_KINESIS_API Aws::String SerializePayload() const override;
36
38
42 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
43
45
48 inline const Aws::String& GetStreamName() const{ return m_streamName; }
49 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
50 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
51 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
52 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
53 inline DeleteStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
54 inline DeleteStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
55 inline DeleteStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
57
59
64 inline bool GetEnforceConsumerDeletion() const{ return m_enforceConsumerDeletion; }
65 inline bool EnforceConsumerDeletionHasBeenSet() const { return m_enforceConsumerDeletionHasBeenSet; }
66 inline void SetEnforceConsumerDeletion(bool value) { m_enforceConsumerDeletionHasBeenSet = true; m_enforceConsumerDeletion = value; }
69
71
74 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
75 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
76 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
77 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
78 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
79 inline DeleteStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
80 inline DeleteStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
81 inline DeleteStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
83 private:
84
85 Aws::String m_streamName;
86 bool m_streamNameHasBeenSet = false;
87
88 bool m_enforceConsumerDeletion;
89 bool m_enforceConsumerDeletionHasBeenSet = false;
90
91 Aws::String m_streamARN;
92 bool m_streamARNHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Kinesis
97} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
DeleteStreamRequest & WithStreamARN(Aws::String &&value)
AWS_KINESIS_API Aws::String SerializePayload() const override
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetStreamARN(const Aws::String &value)
DeleteStreamRequest & WithStreamName(const Aws::String &value)
DeleteStreamRequest & WithStreamName(const char *value)
DeleteStreamRequest & WithEnforceConsumerDeletion(bool value)
DeleteStreamRequest & WithStreamARN(const Aws::String &value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
virtual const char * GetServiceRequestName() const override
void SetStreamName(const Aws::String &value)
DeleteStreamRequest & WithStreamName(Aws::String &&value)
DeleteStreamRequest & WithStreamARN(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String