AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
StreamSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
28 public:
29 AWS_IOT_API StreamSummary() = default;
33
35
38 inline const Aws::String& GetStreamId() const { return m_streamId; }
39 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
40 template <typename StreamIdT = Aws::String>
41 void SetStreamId(StreamIdT&& value) {
42 m_streamIdHasBeenSet = true;
43 m_streamId = std::forward<StreamIdT>(value);
44 }
45 template <typename StreamIdT = Aws::String>
46 StreamSummary& WithStreamId(StreamIdT&& value) {
47 SetStreamId(std::forward<StreamIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetStreamArn() const { return m_streamArn; }
57 inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
58 template <typename StreamArnT = Aws::String>
59 void SetStreamArn(StreamArnT&& value) {
60 m_streamArnHasBeenSet = true;
61 m_streamArn = std::forward<StreamArnT>(value);
62 }
63 template <typename StreamArnT = Aws::String>
64 StreamSummary& WithStreamArn(StreamArnT&& value) {
65 SetStreamArn(std::forward<StreamArnT>(value));
66 return *this;
67 }
69
71
74 inline int GetStreamVersion() const { return m_streamVersion; }
75 inline bool StreamVersionHasBeenSet() const { return m_streamVersionHasBeenSet; }
76 inline void SetStreamVersion(int value) {
77 m_streamVersionHasBeenSet = true;
78 m_streamVersion = value;
79 }
80 inline StreamSummary& WithStreamVersion(int value) {
81 SetStreamVersion(value);
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
98 StreamSummary& WithDescription(DescriptionT&& value) {
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_streamId;
105
106 Aws::String m_streamArn;
107
108 int m_streamVersion{0};
109
110 Aws::String m_description;
111 bool m_streamIdHasBeenSet = false;
112 bool m_streamArnHasBeenSet = false;
113 bool m_streamVersionHasBeenSet = false;
114 bool m_descriptionHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace IoT
119} // namespace Aws
const Aws::String & GetDescription() const
void SetStreamArn(StreamArnT &&value)
AWS_IOT_API StreamSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStreamId() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStreamArn() const
AWS_IOT_API StreamSummary()=default
StreamSummary & WithDescription(DescriptionT &&value)
void SetStreamId(StreamIdT &&value)
StreamSummary & WithStreamVersion(int value)
StreamSummary & WithStreamId(StreamIdT &&value)
void SetDescription(DescriptionT &&value)
StreamSummary & WithStreamArn(StreamArnT &&value)
AWS_IOT_API StreamSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue