AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Channel.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage/model/EgressAccessLogs.h>
10#include <aws/mediapackage/model/HlsIngest.h>
11#include <aws/mediapackage/model/IngressAccessLogs.h>
12#include <aws/core/utils/memory/stl/AWSMap.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 MediaPackage
26{
27namespace Model
28{
29
35 class Channel
36 {
37 public:
38 AWS_MEDIAPACKAGE_API Channel();
39 AWS_MEDIAPACKAGE_API Channel(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIAPACKAGE_API Channel& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline Channel& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline Channel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline Channel& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
63 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
64 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
65 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
66 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
67 inline Channel& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
68 inline Channel& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
69 inline Channel& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline Channel& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline Channel& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline Channel& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
88 inline const EgressAccessLogs& GetEgressAccessLogs() const{ return m_egressAccessLogs; }
89 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
90 inline void SetEgressAccessLogs(const EgressAccessLogs& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = value; }
91 inline void SetEgressAccessLogs(EgressAccessLogs&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::move(value); }
92 inline Channel& WithEgressAccessLogs(const EgressAccessLogs& value) { SetEgressAccessLogs(value); return *this;}
93 inline Channel& WithEgressAccessLogs(EgressAccessLogs&& value) { SetEgressAccessLogs(std::move(value)); return *this;}
95
97
98 inline const HlsIngest& GetHlsIngest() const{ return m_hlsIngest; }
99 inline bool HlsIngestHasBeenSet() const { return m_hlsIngestHasBeenSet; }
100 inline void SetHlsIngest(const HlsIngest& value) { m_hlsIngestHasBeenSet = true; m_hlsIngest = value; }
101 inline void SetHlsIngest(HlsIngest&& value) { m_hlsIngestHasBeenSet = true; m_hlsIngest = std::move(value); }
102 inline Channel& WithHlsIngest(const HlsIngest& value) { SetHlsIngest(value); return *this;}
103 inline Channel& WithHlsIngest(HlsIngest&& value) { SetHlsIngest(std::move(value)); return *this;}
105
107
110 inline const Aws::String& GetId() const{ return m_id; }
111 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
112 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
113 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
114 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
115 inline Channel& WithId(const Aws::String& value) { SetId(value); return *this;}
116 inline Channel& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
117 inline Channel& WithId(const char* value) { SetId(value); return *this;}
119
121
122 inline const IngressAccessLogs& GetIngressAccessLogs() const{ return m_ingressAccessLogs; }
123 inline bool IngressAccessLogsHasBeenSet() const { return m_ingressAccessLogsHasBeenSet; }
124 inline void SetIngressAccessLogs(const IngressAccessLogs& value) { m_ingressAccessLogsHasBeenSet = true; m_ingressAccessLogs = value; }
125 inline void SetIngressAccessLogs(IngressAccessLogs&& value) { m_ingressAccessLogsHasBeenSet = true; m_ingressAccessLogs = std::move(value); }
126 inline Channel& WithIngressAccessLogs(const IngressAccessLogs& value) { SetIngressAccessLogs(value); return *this;}
127 inline Channel& WithIngressAccessLogs(IngressAccessLogs&& value) { SetIngressAccessLogs(std::move(value)); return *this;}
129
131
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
133 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
134 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
135 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
136 inline Channel& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
137 inline Channel& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
138 inline Channel& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
139 inline Channel& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline Channel& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
141 inline Channel& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
142 inline Channel& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
143 inline Channel& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
144 inline Channel& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 private:
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::String m_createdAt;
152 bool m_createdAtHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 EgressAccessLogs m_egressAccessLogs;
158 bool m_egressAccessLogsHasBeenSet = false;
159
160 HlsIngest m_hlsIngest;
161 bool m_hlsIngestHasBeenSet = false;
162
163 Aws::String m_id;
164 bool m_idHasBeenSet = false;
165
166 IngressAccessLogs m_ingressAccessLogs;
167 bool m_ingressAccessLogsHasBeenSet = false;
168
170 bool m_tagsHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace MediaPackage
175} // namespace Aws
Channel & WithArn(Aws::String &&value)
Definition Channel.h:54
const EgressAccessLogs & GetEgressAccessLogs() const
Definition Channel.h:88
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Channel.h:132
Channel & WithHlsIngest(HlsIngest &&value)
Definition Channel.h:103
void SetEgressAccessLogs(EgressAccessLogs &&value)
Definition Channel.h:91
Channel & WithDescription(const char *value)
Definition Channel.h:83
const Aws::String & GetId() const
Definition Channel.h:110
Channel & AddTags(const Aws::String &key, const Aws::String &value)
Definition Channel.h:138
Channel & WithCreatedAt(const char *value)
Definition Channel.h:69
void SetDescription(Aws::String &&value)
Definition Channel.h:79
void SetDescription(const char *value)
Definition Channel.h:80
void SetIngressAccessLogs(IngressAccessLogs &&value)
Definition Channel.h:125
const Aws::String & GetCreatedAt() const
Definition Channel.h:62
Channel & WithArn(const char *value)
Definition Channel.h:55
void SetHlsIngest(const HlsIngest &value)
Definition Channel.h:100
void SetEgressAccessLogs(const EgressAccessLogs &value)
Definition Channel.h:90
Channel & AddTags(Aws::String &&key, Aws::String &&value)
Definition Channel.h:141
bool IngressAccessLogsHasBeenSet() const
Definition Channel.h:123
Channel & WithId(Aws::String &&value)
Definition Channel.h:116
void SetCreatedAt(const char *value)
Definition Channel.h:66
AWS_MEDIAPACKAGE_API Channel(Aws::Utils::Json::JsonView jsonValue)
const HlsIngest & GetHlsIngest() const
Definition Channel.h:98
Channel & WithId(const char *value)
Definition Channel.h:117
Channel & AddTags(Aws::String &&key, const Aws::String &value)
Definition Channel.h:139
Channel & WithCreatedAt(Aws::String &&value)
Definition Channel.h:68
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Channel.h:135
const IngressAccessLogs & GetIngressAccessLogs() const
Definition Channel.h:122
void SetDescription(const Aws::String &value)
Definition Channel.h:78
Channel & AddTags(const char *key, Aws::String &&value)
Definition Channel.h:142
void SetId(Aws::String &&value)
Definition Channel.h:113
bool EgressAccessLogsHasBeenSet() const
Definition Channel.h:89
Channel & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Channel.h:136
Channel & WithIngressAccessLogs(IngressAccessLogs &&value)
Definition Channel.h:127
void SetId(const char *value)
Definition Channel.h:114
Channel & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Channel.h:137
Channel & WithId(const Aws::String &value)
Definition Channel.h:115
const Aws::String & GetArn() const
Definition Channel.h:48
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Channel.h:134
Channel & WithHlsIngest(const HlsIngest &value)
Definition Channel.h:102
void SetIngressAccessLogs(const IngressAccessLogs &value)
Definition Channel.h:124
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
Channel & WithArn(const Aws::String &value)
Definition Channel.h:53
void SetCreatedAt(Aws::String &&value)
Definition Channel.h:65
void SetArn(const char *value)
Definition Channel.h:52
void SetArn(Aws::String &&value)
Definition Channel.h:51
Channel & WithCreatedAt(const Aws::String &value)
Definition Channel.h:67
Channel & AddTags(const char *key, const char *value)
Definition Channel.h:144
void SetHlsIngest(HlsIngest &&value)
Definition Channel.h:101
const Aws::String & GetDescription() const
Definition Channel.h:76
AWS_MEDIAPACKAGE_API Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGE_API Channel()
void SetCreatedAt(const Aws::String &value)
Definition Channel.h:64
Channel & WithEgressAccessLogs(const EgressAccessLogs &value)
Definition Channel.h:92
Channel & WithDescription(const Aws::String &value)
Definition Channel.h:81
Channel & WithDescription(Aws::String &&value)
Definition Channel.h:82
Channel & AddTags(const Aws::String &key, Aws::String &&value)
Definition Channel.h:140
Channel & WithIngressAccessLogs(const IngressAccessLogs &value)
Definition Channel.h:126
void SetId(const Aws::String &value)
Definition Channel.h:112
Channel & WithEgressAccessLogs(EgressAccessLogs &&value)
Definition Channel.h:93
Channel & AddTags(Aws::String &&key, const char *value)
Definition Channel.h:143
void SetArn(const Aws::String &value)
Definition Channel.h:50
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue