AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
52 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
53 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
54 inline ChannelInfo& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
55 inline ChannelInfo& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
56 inline ChannelInfo& WithChannelName(const char* value) { SetChannelName(value); return *this;}
58
60
63 inline const Aws::String& GetChannelARN() const{ return m_channelARN; }
64 inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
65 inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; }
66 inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); }
67 inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); }
68 inline ChannelInfo& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;}
69 inline ChannelInfo& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;}
70 inline ChannelInfo& WithChannelARN(const char* value) { SetChannelARN(value); return *this;}
72
74
77 inline const ChannelType& GetChannelType() const{ return m_channelType; }
78 inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
79 inline void SetChannelType(const ChannelType& value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
80 inline void SetChannelType(ChannelType&& value) { m_channelTypeHasBeenSet = true; m_channelType = std::move(value); }
81 inline ChannelInfo& WithChannelType(const ChannelType& value) { SetChannelType(value); return *this;}
82 inline ChannelInfo& WithChannelType(ChannelType&& value) { SetChannelType(std::move(value)); return *this;}
84
86
89 inline const Status& GetChannelStatus() const{ return m_channelStatus; }
90 inline bool ChannelStatusHasBeenSet() const { return m_channelStatusHasBeenSet; }
91 inline void SetChannelStatus(const Status& value) { m_channelStatusHasBeenSet = true; m_channelStatus = value; }
92 inline void SetChannelStatus(Status&& value) { m_channelStatusHasBeenSet = true; m_channelStatus = std::move(value); }
93 inline ChannelInfo& WithChannelStatus(const Status& value) { SetChannelStatus(value); return *this;}
94 inline ChannelInfo& WithChannelStatus(Status&& value) { SetChannelStatus(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
102 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
103 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
104 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
105 inline ChannelInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
106 inline ChannelInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
108
110
114 inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const{ return m_singleMasterConfiguration; }
115 inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
116 inline void SetSingleMasterConfiguration(const SingleMasterConfiguration& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = value; }
117 inline void SetSingleMasterConfiguration(SingleMasterConfiguration&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::move(value); }
121
123
126 inline const Aws::String& GetVersion() const{ return m_version; }
127 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
128 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
129 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
130 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
131 inline ChannelInfo& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
132 inline ChannelInfo& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
133 inline ChannelInfo& WithVersion(const char* value) { SetVersion(value); return *this;}
135 private:
136
137 Aws::String m_channelName;
138 bool m_channelNameHasBeenSet = false;
139
140 Aws::String m_channelARN;
141 bool m_channelARNHasBeenSet = false;
142
143 ChannelType m_channelType;
144 bool m_channelTypeHasBeenSet = false;
145
146 Status m_channelStatus;
147 bool m_channelStatusHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationTime;
150 bool m_creationTimeHasBeenSet = false;
151
152 SingleMasterConfiguration m_singleMasterConfiguration;
153 bool m_singleMasterConfigurationHasBeenSet = false;
154
155 Aws::String m_version;
156 bool m_versionHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace KinesisVideo
161} // namespace Aws
void SetChannelName(Aws::String &&value)
Definition ChannelInfo.h:52
void SetSingleMasterConfiguration(const SingleMasterConfiguration &value)
ChannelInfo & WithChannelARN(Aws::String &&value)
Definition ChannelInfo.h:69
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
const Status & GetChannelStatus() const
Definition ChannelInfo.h:89
const Aws::String & GetVersion() const
ChannelInfo & WithSingleMasterConfiguration(SingleMasterConfiguration &&value)
void SetChannelType(const ChannelType &value)
Definition ChannelInfo.h:79
const SingleMasterConfiguration & GetSingleMasterConfiguration() const
void SetChannelARN(Aws::String &&value)
Definition ChannelInfo.h:66
AWS_KINESISVIDEO_API ChannelInfo()
const Aws::Utils::DateTime & GetCreationTime() const
AWS_KINESISVIDEO_API ChannelInfo(Aws::Utils::Json::JsonView jsonValue)
ChannelInfo & WithChannelName(Aws::String &&value)
Definition ChannelInfo.h:55
ChannelInfo & WithChannelName(const char *value)
Definition ChannelInfo.h:56
ChannelInfo & WithChannelStatus(Status &&value)
Definition ChannelInfo.h:94
ChannelInfo & WithCreationTime(const Aws::Utils::DateTime &value)
ChannelInfo & WithChannelType(ChannelType &&value)
Definition ChannelInfo.h:82
void SetVersion(const Aws::String &value)
void SetSingleMasterConfiguration(SingleMasterConfiguration &&value)
ChannelInfo & WithVersion(Aws::String &&value)
void SetChannelName(const Aws::String &value)
Definition ChannelInfo.h:51
void SetVersion(const char *value)
ChannelInfo & WithChannelStatus(const Status &value)
Definition ChannelInfo.h:93
ChannelInfo & WithSingleMasterConfiguration(const SingleMasterConfiguration &value)
void SetVersion(Aws::String &&value)
ChannelInfo & WithVersion(const char *value)
AWS_KINESISVIDEO_API ChannelInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChannelName(const char *value)
Definition ChannelInfo.h:53
ChannelInfo & WithChannelARN(const Aws::String &value)
Definition ChannelInfo.h:68
const Aws::String & GetChannelARN() const
Definition ChannelInfo.h:63
const ChannelType & GetChannelType() const
Definition ChannelInfo.h:77
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetChannelARN(const char *value)
Definition ChannelInfo.h:67
ChannelInfo & WithVersion(const Aws::String &value)
void SetChannelType(ChannelType &&value)
Definition ChannelInfo.h:80
void SetChannelStatus(const Status &value)
Definition ChannelInfo.h:91
ChannelInfo & WithCreationTime(Aws::Utils::DateTime &&value)
ChannelInfo & WithChannelName(const Aws::String &value)
Definition ChannelInfo.h:54
void SetChannelStatus(Status &&value)
Definition ChannelInfo.h:92
ChannelInfo & WithChannelARN(const char *value)
Definition ChannelInfo.h:70
void SetCreationTime(const Aws::Utils::DateTime &value)
ChannelInfo & WithChannelType(const ChannelType &value)
Definition ChannelInfo.h:81
const Aws::String & GetChannelName() const
Definition ChannelInfo.h:49
void SetChannelARN(const Aws::String &value)
Definition ChannelInfo.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue