AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamInfo.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisvideo/model/Status.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KinesisVideo
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_KINESISVIDEO_API StreamInfo();
37 AWS_KINESISVIDEO_API StreamInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISVIDEO_API StreamInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
47 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
48 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
49 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
50 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
51 inline StreamInfo& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
52 inline StreamInfo& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
53 inline StreamInfo& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
55
57
60 inline const Aws::String& GetStreamName() const{ return m_streamName; }
61 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
62 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
63 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
64 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
65 inline StreamInfo& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
66 inline StreamInfo& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
67 inline StreamInfo& WithStreamName(const char* value) { SetStreamName(value); return *this;}
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 StreamInfo& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
80 inline StreamInfo& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
81 inline StreamInfo& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
83
85
88 inline const Aws::String& GetMediaType() const{ return m_mediaType; }
89 inline bool MediaTypeHasBeenSet() const { return m_mediaTypeHasBeenSet; }
90 inline void SetMediaType(const Aws::String& value) { m_mediaTypeHasBeenSet = true; m_mediaType = value; }
91 inline void SetMediaType(Aws::String&& value) { m_mediaTypeHasBeenSet = true; m_mediaType = std::move(value); }
92 inline void SetMediaType(const char* value) { m_mediaTypeHasBeenSet = true; m_mediaType.assign(value); }
93 inline StreamInfo& WithMediaType(const Aws::String& value) { SetMediaType(value); return *this;}
94 inline StreamInfo& WithMediaType(Aws::String&& value) { SetMediaType(std::move(value)); return *this;}
95 inline StreamInfo& WithMediaType(const char* value) { SetMediaType(value); return *this;}
97
99
103 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
104 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
105 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
106 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
107 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
108 inline StreamInfo& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
109 inline StreamInfo& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
110 inline StreamInfo& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
112
114
117 inline const Aws::String& GetVersion() const{ return m_version; }
118 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
119 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
120 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
121 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
122 inline StreamInfo& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
123 inline StreamInfo& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
124 inline StreamInfo& WithVersion(const char* value) { SetVersion(value); return *this;}
126
128
131 inline const Status& GetStatus() const{ return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
134 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
135 inline StreamInfo& WithStatus(const Status& value) { SetStatus(value); return *this;}
136 inline StreamInfo& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
144 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
145 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
146 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
147 inline StreamInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
148 inline StreamInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
150
152
155 inline int GetDataRetentionInHours() const{ return m_dataRetentionInHours; }
156 inline bool DataRetentionInHoursHasBeenSet() const { return m_dataRetentionInHoursHasBeenSet; }
157 inline void SetDataRetentionInHours(int value) { m_dataRetentionInHoursHasBeenSet = true; m_dataRetentionInHours = value; }
158 inline StreamInfo& WithDataRetentionInHours(int value) { SetDataRetentionInHours(value); return *this;}
160 private:
161
162 Aws::String m_deviceName;
163 bool m_deviceNameHasBeenSet = false;
164
165 Aws::String m_streamName;
166 bool m_streamNameHasBeenSet = false;
167
168 Aws::String m_streamARN;
169 bool m_streamARNHasBeenSet = false;
170
171 Aws::String m_mediaType;
172 bool m_mediaTypeHasBeenSet = false;
173
174 Aws::String m_kmsKeyId;
175 bool m_kmsKeyIdHasBeenSet = false;
176
177 Aws::String m_version;
178 bool m_versionHasBeenSet = false;
179
180 Status m_status;
181 bool m_statusHasBeenSet = false;
182
183 Aws::Utils::DateTime m_creationTime;
184 bool m_creationTimeHasBeenSet = false;
185
186 int m_dataRetentionInHours;
187 bool m_dataRetentionInHoursHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace KinesisVideo
192} // namespace Aws
void SetStreamARN(const Aws::String &value)
Definition StreamInfo.h:76
AWS_KINESISVIDEO_API StreamInfo()
StreamInfo & WithCreationTime(const Aws::Utils::DateTime &value)
Definition StreamInfo.h:147
StreamInfo & WithVersion(Aws::String &&value)
Definition StreamInfo.h:123
StreamInfo & WithDataRetentionInHours(int value)
Definition StreamInfo.h:158
StreamInfo & WithStreamARN(Aws::String &&value)
Definition StreamInfo.h:80
void SetKmsKeyId(Aws::String &&value)
Definition StreamInfo.h:106
void SetStreamARN(const char *value)
Definition StreamInfo.h:78
StreamInfo & WithDeviceName(Aws::String &&value)
Definition StreamInfo.h:52
StreamInfo & WithKmsKeyId(const char *value)
Definition StreamInfo.h:110
void SetStreamARN(Aws::String &&value)
Definition StreamInfo.h:77
void SetMediaType(Aws::String &&value)
Definition StreamInfo.h:91
StreamInfo & WithMediaType(const Aws::String &value)
Definition StreamInfo.h:93
void SetStreamName(Aws::String &&value)
Definition StreamInfo.h:63
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition StreamInfo.h:146
StreamInfo & WithStatus(Status &&value)
Definition StreamInfo.h:136
void SetDeviceName(const char *value)
Definition StreamInfo.h:50
const Status & GetStatus() const
Definition StreamInfo.h:131
void SetMediaType(const Aws::String &value)
Definition StreamInfo.h:90
const Aws::String & GetVersion() const
Definition StreamInfo.h:117
void SetStreamName(const Aws::String &value)
Definition StreamInfo.h:62
StreamInfo & WithMediaType(Aws::String &&value)
Definition StreamInfo.h:94
void SetKmsKeyId(const Aws::String &value)
Definition StreamInfo.h:105
const Aws::String & GetKmsKeyId() const
Definition StreamInfo.h:103
StreamInfo & WithStreamName(Aws::String &&value)
Definition StreamInfo.h:66
void SetMediaType(const char *value)
Definition StreamInfo.h:92
const Aws::String & GetMediaType() const
Definition StreamInfo.h:88
void SetStreamName(const char *value)
Definition StreamInfo.h:64
void SetVersion(const char *value)
Definition StreamInfo.h:121
StreamInfo & WithVersion(const Aws::String &value)
Definition StreamInfo.h:122
void SetKmsKeyId(const char *value)
Definition StreamInfo.h:107
const Aws::String & GetStreamName() const
Definition StreamInfo.h:60
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition StreamInfo.h:145
const Aws::String & GetDeviceName() const
Definition StreamInfo.h:46
void SetVersion(const Aws::String &value)
Definition StreamInfo.h:119
StreamInfo & WithStreamARN(const char *value)
Definition StreamInfo.h:81
StreamInfo & WithDeviceName(const Aws::String &value)
Definition StreamInfo.h:51
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
StreamInfo & WithStreamName(const Aws::String &value)
Definition StreamInfo.h:65
AWS_KINESISVIDEO_API StreamInfo(Aws::Utils::Json::JsonView jsonValue)
StreamInfo & WithDeviceName(const char *value)
Definition StreamInfo.h:53
void SetDeviceName(Aws::String &&value)
Definition StreamInfo.h:49
void SetDeviceName(const Aws::String &value)
Definition StreamInfo.h:48
StreamInfo & WithStatus(const Status &value)
Definition StreamInfo.h:135
StreamInfo & WithKmsKeyId(Aws::String &&value)
Definition StreamInfo.h:109
StreamInfo & WithStreamName(const char *value)
Definition StreamInfo.h:67
StreamInfo & WithStreamARN(const Aws::String &value)
Definition StreamInfo.h:79
const Aws::Utils::DateTime & GetCreationTime() const
Definition StreamInfo.h:143
const Aws::String & GetStreamARN() const
Definition StreamInfo.h:74
AWS_KINESISVIDEO_API StreamInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamInfo & WithKmsKeyId(const Aws::String &value)
Definition StreamInfo.h:108
StreamInfo & WithCreationTime(Aws::Utils::DateTime &&value)
Definition StreamInfo.h:148
StreamInfo & WithMediaType(const char *value)
Definition StreamInfo.h:95
StreamInfo & WithVersion(const char *value)
Definition StreamInfo.h:124
void SetStatus(const Status &value)
Definition StreamInfo.h:133
void SetVersion(Aws::String &&value)
Definition StreamInfo.h:120
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue