AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateChannelResult.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{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaPackage
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MEDIAPACKAGE_API CreateChannelResult();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline CreateChannelResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline CreateChannelResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline CreateChannelResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
57 inline void SetCreatedAt(const Aws::String& value) { m_createdAt = value; }
58 inline void SetCreatedAt(Aws::String&& value) { m_createdAt = std::move(value); }
59 inline void SetCreatedAt(const char* value) { m_createdAt.assign(value); }
60 inline CreateChannelResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
61 inline CreateChannelResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
62 inline CreateChannelResult& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline void SetDescription(const Aws::String& value) { m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_description.assign(value); }
73 inline CreateChannelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline CreateChannelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline CreateChannelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
80 inline const EgressAccessLogs& GetEgressAccessLogs() const{ return m_egressAccessLogs; }
81 inline void SetEgressAccessLogs(const EgressAccessLogs& value) { m_egressAccessLogs = value; }
82 inline void SetEgressAccessLogs(EgressAccessLogs&& value) { m_egressAccessLogs = std::move(value); }
84 inline CreateChannelResult& WithEgressAccessLogs(EgressAccessLogs&& value) { SetEgressAccessLogs(std::move(value)); return *this;}
86
88
89 inline const HlsIngest& GetHlsIngest() const{ return m_hlsIngest; }
90 inline void SetHlsIngest(const HlsIngest& value) { m_hlsIngest = value; }
91 inline void SetHlsIngest(HlsIngest&& value) { m_hlsIngest = std::move(value); }
92 inline CreateChannelResult& WithHlsIngest(const HlsIngest& value) { SetHlsIngest(value); return *this;}
93 inline CreateChannelResult& WithHlsIngest(HlsIngest&& value) { SetHlsIngest(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetId() const{ return m_id; }
101 inline void SetId(const Aws::String& value) { m_id = value; }
102 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
103 inline void SetId(const char* value) { m_id.assign(value); }
104 inline CreateChannelResult& WithId(const Aws::String& value) { SetId(value); return *this;}
105 inline CreateChannelResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
106 inline CreateChannelResult& WithId(const char* value) { SetId(value); return *this;}
108
110
111 inline const IngressAccessLogs& GetIngressAccessLogs() const{ return m_ingressAccessLogs; }
112 inline void SetIngressAccessLogs(const IngressAccessLogs& value) { m_ingressAccessLogs = value; }
113 inline void SetIngressAccessLogs(IngressAccessLogs&& value) { m_ingressAccessLogs = std::move(value); }
115 inline CreateChannelResult& WithIngressAccessLogs(IngressAccessLogs&& value) { SetIngressAccessLogs(std::move(value)); return *this;}
117
119
120 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
121 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
122 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
123 inline CreateChannelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
124 inline CreateChannelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
125 inline CreateChannelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
126 inline CreateChannelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
127 inline CreateChannelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
128 inline CreateChannelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
129 inline CreateChannelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
130 inline CreateChannelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
131 inline CreateChannelResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
133
135
136 inline const Aws::String& GetRequestId() const{ return m_requestId; }
137 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
138 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
139 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
140 inline CreateChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
141 inline CreateChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
142 inline CreateChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
144 private:
145
146 Aws::String m_arn;
147
148 Aws::String m_createdAt;
149
150 Aws::String m_description;
151
152 EgressAccessLogs m_egressAccessLogs;
153
154 HlsIngest m_hlsIngest;
155
156 Aws::String m_id;
157
158 IngressAccessLogs m_ingressAccessLogs;
159
161
162 Aws::String m_requestId;
163 };
164
165} // namespace Model
166} // namespace MediaPackage
167} // namespace Aws
CreateChannelResult & AddTags(Aws::String &&key, const char *value)
void SetIngressAccessLogs(IngressAccessLogs &&value)
const IngressAccessLogs & GetIngressAccessLogs() const
CreateChannelResult & WithRequestId(const Aws::String &value)
CreateChannelResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateChannelResult & WithEgressAccessLogs(EgressAccessLogs &&value)
void SetEgressAccessLogs(const EgressAccessLogs &value)
CreateChannelResult & AddTags(const char *key, const char *value)
CreateChannelResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelResult & WithEgressAccessLogs(const EgressAccessLogs &value)
CreateChannelResult & WithCreatedAt(const Aws::String &value)
AWS_MEDIAPACKAGE_API CreateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelResult & WithRequestId(Aws::String &&value)
CreateChannelResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateChannelResult & WithArn(Aws::String &&value)
CreateChannelResult & WithRequestId(const char *value)
AWS_MEDIAPACKAGE_API CreateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & WithId(Aws::String &&value)
CreateChannelResult & WithCreatedAt(const char *value)
CreateChannelResult & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateChannelResult & WithHlsIngest(HlsIngest &&value)
CreateChannelResult & WithArn(const char *value)
CreateChannelResult & WithCreatedAt(Aws::String &&value)
CreateChannelResult & WithArn(const Aws::String &value)
CreateChannelResult & WithId(const char *value)
CreateChannelResult & WithDescription(const char *value)
CreateChannelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelResult & WithDescription(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelResult & AddTags(const char *key, Aws::String &&value)
CreateChannelResult & WithHlsIngest(const HlsIngest &value)
void SetIngressAccessLogs(const IngressAccessLogs &value)
CreateChannelResult & WithIngressAccessLogs(const IngressAccessLogs &value)
CreateChannelResult & WithId(const Aws::String &value)
void SetEgressAccessLogs(EgressAccessLogs &&value)
CreateChannelResult & WithDescription(const Aws::String &value)
CreateChannelResult & WithIngressAccessLogs(IngressAccessLogs &&value)
const EgressAccessLogs & GetEgressAccessLogs() const
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