AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StreamSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOT_API StreamSummary() = default;
38
39
41
44 inline const Aws::String& GetStreamId() const { return m_streamId; }
45 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
46 template<typename StreamIdT = Aws::String>
47 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
48 template<typename StreamIdT = Aws::String>
49 StreamSummary& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
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) { m_streamArnHasBeenSet = true; m_streamArn = std::forward<StreamArnT>(value); }
60 template<typename StreamArnT = Aws::String>
61 StreamSummary& WithStreamArn(StreamArnT&& value) { SetStreamArn(std::forward<StreamArnT>(value)); return *this;}
63
65
68 inline int GetStreamVersion() const { return m_streamVersion; }
69 inline bool StreamVersionHasBeenSet() const { return m_streamVersionHasBeenSet; }
70 inline void SetStreamVersion(int value) { m_streamVersionHasBeenSet = true; m_streamVersion = value; }
71 inline StreamSummary& WithStreamVersion(int value) { SetStreamVersion(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 StreamSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85 private:
86
87 Aws::String m_streamId;
88 bool m_streamIdHasBeenSet = false;
89
90 Aws::String m_streamArn;
91 bool m_streamArnHasBeenSet = false;
92
93 int m_streamVersion{0};
94 bool m_streamVersionHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoT
102} // 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