AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChannelInfo.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/ChannelType.h>
10#include <aws/kinesisvideo/model/Status.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/kinesisvideo/model/SingleMasterConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace KinesisVideo
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_KINESISVIDEO_API ChannelInfo() = default;
40 AWS_KINESISVIDEO_API ChannelInfo(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISVIDEO_API ChannelInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetChannelName() const { return m_channelName; }
50 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
51 template<typename ChannelNameT = Aws::String>
52 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
53 template<typename ChannelNameT = Aws::String>
54 ChannelInfo& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetChannelARN() const { return m_channelARN; }
62 inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
63 template<typename ChannelARNT = Aws::String>
64 void SetChannelARN(ChannelARNT&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::forward<ChannelARNT>(value); }
65 template<typename ChannelARNT = Aws::String>
66 ChannelInfo& WithChannelARN(ChannelARNT&& value) { SetChannelARN(std::forward<ChannelARNT>(value)); return *this;}
68
70
73 inline ChannelType GetChannelType() const { return m_channelType; }
74 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
75 inline void SetChannelType(ChannelType value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
76 inline ChannelInfo& WithChannelType(ChannelType value) { SetChannelType(value); return *this;}
78
80
83 inline Status GetChannelStatus() const { return m_channelStatus; }
84 inline bool ChannelStatusHasBeenSet() const { return m_channelStatusHasBeenSet; }
85 inline void SetChannelStatus(Status value) { m_channelStatusHasBeenSet = true; m_channelStatus = value; }
86 inline ChannelInfo& WithChannelStatus(Status value) { SetChannelStatus(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
94 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
95 template<typename CreationTimeT = Aws::Utils::DateTime>
96 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
97 template<typename CreationTimeT = Aws::Utils::DateTime>
98 ChannelInfo& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
100
102
106 inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const { return m_singleMasterConfiguration; }
107 inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
108 template<typename SingleMasterConfigurationT = SingleMasterConfiguration>
109 void SetSingleMasterConfiguration(SingleMasterConfigurationT&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::forward<SingleMasterConfigurationT>(value); }
110 template<typename SingleMasterConfigurationT = SingleMasterConfiguration>
111 ChannelInfo& WithSingleMasterConfiguration(SingleMasterConfigurationT&& value) { SetSingleMasterConfiguration(std::forward<SingleMasterConfigurationT>(value)); return *this;}
113
115
118 inline const Aws::String& GetVersion() const { return m_version; }
119 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
120 template<typename VersionT = Aws::String>
121 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
122 template<typename VersionT = Aws::String>
123 ChannelInfo& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
125 private:
126
127 Aws::String m_channelName;
128 bool m_channelNameHasBeenSet = false;
129
130 Aws::String m_channelARN;
131 bool m_channelARNHasBeenSet = false;
132
133 ChannelType m_channelType{ChannelType::NOT_SET};
134 bool m_channelTypeHasBeenSet = false;
135
136 Status m_channelStatus{Status::NOT_SET};
137 bool m_channelStatusHasBeenSet = false;
138
139 Aws::Utils::DateTime m_creationTime{};
140 bool m_creationTimeHasBeenSet = false;
141
142 SingleMasterConfiguration m_singleMasterConfiguration;
143 bool m_singleMasterConfigurationHasBeenSet = false;
144
145 Aws::String m_version;
146 bool m_versionHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace KinesisVideo
151} // namespace Aws
ChannelInfo & WithChannelStatus(Status value)
Definition ChannelInfo.h:86
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVersion() const
AWS_KINESISVIDEO_API ChannelInfo()=default
const SingleMasterConfiguration & GetSingleMasterConfiguration() const
const Aws::Utils::DateTime & GetCreationTime() const
Definition ChannelInfo.h:93
AWS_KINESISVIDEO_API ChannelInfo(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(CreationTimeT &&value)
Definition ChannelInfo.h:96
ChannelInfo & WithVersion(VersionT &&value)
void SetVersion(VersionT &&value)
AWS_KINESISVIDEO_API ChannelInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetChannelARN() const
Definition ChannelInfo.h:61
ChannelInfo & WithChannelName(ChannelNameT &&value)
Definition ChannelInfo.h:54
void SetSingleMasterConfiguration(SingleMasterConfigurationT &&value)
void SetChannelType(ChannelType value)
Definition ChannelInfo.h:75
ChannelInfo & WithCreationTime(CreationTimeT &&value)
Definition ChannelInfo.h:98
ChannelInfo & WithChannelARN(ChannelARNT &&value)
Definition ChannelInfo.h:66
void SetChannelARN(ChannelARNT &&value)
Definition ChannelInfo.h:64
ChannelInfo & WithChannelType(ChannelType value)
Definition ChannelInfo.h:76
ChannelInfo & WithSingleMasterConfiguration(SingleMasterConfigurationT &&value)
void SetChannelName(ChannelNameT &&value)
Definition ChannelInfo.h:52
const Aws::String & GetChannelName() const
Definition ChannelInfo.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue