AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DecreaseStreamRetentionPeriodRequest.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
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DecreaseStreamRetentionPeriod"; }
35
36 AWS_KINESIS_API Aws::String SerializePayload() const override;
37
39
43 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
44
46
49 inline const Aws::String& GetStreamName() const{ return m_streamName; }
50 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
51 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
52 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
53 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
55 inline DecreaseStreamRetentionPeriodRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
56 inline DecreaseStreamRetentionPeriodRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
58
60
64 inline int GetRetentionPeriodHours() const{ return m_retentionPeriodHours; }
65 inline bool RetentionPeriodHoursHasBeenSet() const { return m_retentionPeriodHoursHasBeenSet; }
66 inline void SetRetentionPeriodHours(int value) { m_retentionPeriodHoursHasBeenSet = true; m_retentionPeriodHours = 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 DecreaseStreamRetentionPeriodRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
80 inline DecreaseStreamRetentionPeriodRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
81 inline DecreaseStreamRetentionPeriodRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
83 private:
84
85 Aws::String m_streamName;
86 bool m_streamNameHasBeenSet = false;
87
88 int m_retentionPeriodHours;
89 bool m_retentionPeriodHoursHasBeenSet = 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
DecreaseStreamRetentionPeriodRequest & WithStreamARN(Aws::String &&value)
AWS_KINESIS_API Aws::String SerializePayload() const override
DecreaseStreamRetentionPeriodRequest & WithStreamName(const char *value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
DecreaseStreamRetentionPeriodRequest & WithStreamARN(const char *value)
DecreaseStreamRetentionPeriodRequest & WithStreamARN(const Aws::String &value)
DecreaseStreamRetentionPeriodRequest & WithStreamName(Aws::String &&value)
DecreaseStreamRetentionPeriodRequest & WithStreamName(const Aws::String &value)
DecreaseStreamRetentionPeriodRequest & WithRetentionPeriodHours(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String