AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStreamModeRequest.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 <aws/kinesis/model/StreamModeDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kinesis
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESIS_API UpdateStreamModeRequest();
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 "UpdateStreamMode"; }
32
33 AWS_KINESIS_API Aws::String SerializePayload() const override;
34
36
40 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
41
43
47 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
48 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
49 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
50 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
51 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
52 inline UpdateStreamModeRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
53 inline UpdateStreamModeRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
54 inline UpdateStreamModeRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
56
58
63 inline const StreamModeDetails& GetStreamModeDetails() const{ return m_streamModeDetails; }
64 inline bool StreamModeDetailsHasBeenSet() const { return m_streamModeDetailsHasBeenSet; }
65 inline void SetStreamModeDetails(const StreamModeDetails& value) { m_streamModeDetailsHasBeenSet = true; m_streamModeDetails = value; }
66 inline void SetStreamModeDetails(StreamModeDetails&& value) { m_streamModeDetailsHasBeenSet = true; m_streamModeDetails = std::move(value); }
68 inline UpdateStreamModeRequest& WithStreamModeDetails(StreamModeDetails&& value) { SetStreamModeDetails(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_streamARN;
73 bool m_streamARNHasBeenSet = false;
74
75 StreamModeDetails m_streamModeDetails;
76 bool m_streamModeDetailsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Kinesis
81} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
AWS_KINESIS_API Aws::String SerializePayload() const override
void SetStreamModeDetails(const StreamModeDetails &value)
UpdateStreamModeRequest & WithStreamARN(Aws::String &&value)
const StreamModeDetails & GetStreamModeDetails() const
virtual const char * GetServiceRequestName() const override
UpdateStreamModeRequest & WithStreamModeDetails(StreamModeDetails &&value)
UpdateStreamModeRequest & WithStreamModeDetails(const StreamModeDetails &value)
UpdateStreamModeRequest & WithStreamARN(const Aws::String &value)
void SetStreamModeDetails(StreamModeDetails &&value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateStreamModeRequest & WithStreamARN(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String