AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ChannelListConfiguration.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/mediapackagev2/model/InputType.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 mediapackagev2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIAPACKAGEV2_API ChannelListConfiguration() = default;
37 AWS_MEDIAPACKAGEV2_API ChannelListConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 ChannelListConfiguration& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
60 inline const Aws::String& GetChannelName() const { return m_channelName; }
61 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
62 template<typename ChannelNameT = Aws::String>
63 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
64 template<typename ChannelNameT = Aws::String>
65 ChannelListConfiguration& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
67
69
74 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
75 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
76 template<typename ChannelGroupNameT = Aws::String>
77 void SetChannelGroupName(ChannelGroupNameT&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::forward<ChannelGroupNameT>(value); }
78 template<typename ChannelGroupNameT = Aws::String>
79 ChannelListConfiguration& WithChannelGroupName(ChannelGroupNameT&& value) { SetChannelGroupName(std::forward<ChannelGroupNameT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
87 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
88 template<typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
90 template<typename CreatedAtT = Aws::Utils::DateTime>
91 ChannelListConfiguration& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
99 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
100 template<typename ModifiedAtT = Aws::Utils::DateTime>
101 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
102 template<typename ModifiedAtT = Aws::Utils::DateTime>
103 ChannelListConfiguration& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
105
107
111 inline const Aws::String& GetDescription() const { return m_description; }
112 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 template<typename DescriptionT = Aws::String>
114 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
115 template<typename DescriptionT = Aws::String>
116 ChannelListConfiguration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
118
120
129 inline InputType GetInputType() const { return m_inputType; }
130 inline bool InputTypeHasBeenSet() const { return m_inputTypeHasBeenSet; }
131 inline void SetInputType(InputType value) { m_inputTypeHasBeenSet = true; m_inputType = value; }
132 inline ChannelListConfiguration& WithInputType(InputType value) { SetInputType(value); return *this;}
134 private:
135
136 Aws::String m_arn;
137 bool m_arnHasBeenSet = false;
138
139 Aws::String m_channelName;
140 bool m_channelNameHasBeenSet = false;
141
142 Aws::String m_channelGroupName;
143 bool m_channelGroupNameHasBeenSet = false;
144
145 Aws::Utils::DateTime m_createdAt{};
146 bool m_createdAtHasBeenSet = false;
147
148 Aws::Utils::DateTime m_modifiedAt{};
149 bool m_modifiedAtHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 InputType m_inputType{InputType::NOT_SET};
155 bool m_inputTypeHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace mediapackagev2
160} // namespace Aws
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelListConfiguration & WithInputType(InputType value)
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration()=default
ChannelListConfiguration & WithChannelGroupName(ChannelGroupNameT &&value)
ChannelListConfiguration & WithDescription(DescriptionT &&value)
ChannelListConfiguration & WithCreatedAt(CreatedAtT &&value)
ChannelListConfiguration & WithModifiedAt(ModifiedAtT &&value)
ChannelListConfiguration & WithChannelName(ChannelNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue