AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateChannelGroupResult.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/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace mediapackagev2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult();
35
36
38
43 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
44 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupName = value; }
45 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupName = std::move(value); }
46 inline void SetChannelGroupName(const char* value) { m_channelGroupName.assign(value); }
48 inline CreateChannelGroupResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
49 inline CreateChannelGroupResult& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
51
53
56 inline const Aws::String& GetArn() const{ return m_arn; }
57 inline void SetArn(const Aws::String& value) { m_arn = value; }
58 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
59 inline void SetArn(const char* value) { m_arn.assign(value); }
60 inline CreateChannelGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 inline CreateChannelGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
62 inline CreateChannelGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
64
66
71 inline const Aws::String& GetEgressDomain() const{ return m_egressDomain; }
72 inline void SetEgressDomain(const Aws::String& value) { m_egressDomain = value; }
73 inline void SetEgressDomain(Aws::String&& value) { m_egressDomain = std::move(value); }
74 inline void SetEgressDomain(const char* value) { m_egressDomain.assign(value); }
75 inline CreateChannelGroupResult& WithEgressDomain(const Aws::String& value) { SetEgressDomain(value); return *this;}
76 inline CreateChannelGroupResult& WithEgressDomain(Aws::String&& value) { SetEgressDomain(std::move(value)); return *this;}
77 inline CreateChannelGroupResult& WithEgressDomain(const char* value) { SetEgressDomain(value); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
85 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
86 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
87 inline CreateChannelGroupResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
88 inline CreateChannelGroupResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
96 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
97 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
98 inline CreateChannelGroupResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
99 inline CreateChannelGroupResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
101
103
107 inline const Aws::String& GetETag() const{ return m_eTag; }
108 inline void SetETag(const Aws::String& value) { m_eTag = value; }
109 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
110 inline void SetETag(const char* value) { m_eTag.assign(value); }
111 inline CreateChannelGroupResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
112 inline CreateChannelGroupResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
113 inline CreateChannelGroupResult& WithETag(const char* value) { SetETag(value); return *this;}
115
117
120 inline const Aws::String& GetDescription() const{ return m_description; }
121 inline void SetDescription(const Aws::String& value) { m_description = value; }
122 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
123 inline void SetDescription(const char* value) { m_description.assign(value); }
124 inline CreateChannelGroupResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
125 inline CreateChannelGroupResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
126 inline CreateChannelGroupResult& WithDescription(const char* value) { SetDescription(value); return *this;}
128
130
134 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
135 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
136 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
138 inline CreateChannelGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
139 inline CreateChannelGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
140 inline CreateChannelGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
141 inline CreateChannelGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
142 inline CreateChannelGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
143 inline CreateChannelGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
144 inline CreateChannelGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
145 inline CreateChannelGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
147
149
150 inline const Aws::String& GetRequestId() const{ return m_requestId; }
151 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
152 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
153 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
154 inline CreateChannelGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
155 inline CreateChannelGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
156 inline CreateChannelGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
158 private:
159
160 Aws::String m_channelGroupName;
161
162 Aws::String m_arn;
163
164 Aws::String m_egressDomain;
165
166 Aws::Utils::DateTime m_createdAt;
167
168 Aws::Utils::DateTime m_modifiedAt;
169
170 Aws::String m_eTag;
171
172 Aws::String m_description;
173
175
176 Aws::String m_requestId;
177 };
178
179} // namespace Model
180} // namespace mediapackagev2
181} // namespace Aws
AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateChannelGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelGroupResult & WithChannelGroupName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelGroupResult & WithArn(const char *value)
CreateChannelGroupResult & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateChannelGroupResult & WithETag(const char *value)
CreateChannelGroupResult & WithEgressDomain(const char *value)
CreateChannelGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateChannelGroupResult & WithDescription(const char *value)
CreateChannelGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateChannelGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateChannelGroupResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateChannelGroupResult & AddTags(const char *key, Aws::String &&value)
CreateChannelGroupResult & WithEgressDomain(const Aws::String &value)
CreateChannelGroupResult & WithModifiedAt(const Aws::Utils::DateTime &value)
CreateChannelGroupResult & WithArn(Aws::String &&value)
CreateChannelGroupResult & WithETag(Aws::String &&value)
CreateChannelGroupResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateChannelGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateChannelGroupResult & WithEgressDomain(Aws::String &&value)
CreateChannelGroupResult & WithRequestId(Aws::String &&value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
CreateChannelGroupResult & WithDescription(Aws::String &&value)
AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelGroupResult & WithRequestId(const char *value)
CreateChannelGroupResult & WithChannelGroupName(const char *value)
CreateChannelGroupResult & WithChannelGroupName(const Aws::String &value)
CreateChannelGroupResult & WithDescription(const Aws::String &value)
CreateChannelGroupResult & WithModifiedAt(Aws::Utils::DateTime &&value)
CreateChannelGroupResult & WithArn(const Aws::String &value)
CreateChannelGroupResult & WithRequestId(const Aws::String &value)
CreateChannelGroupResult & WithETag(const Aws::String &value)
CreateChannelGroupResult & AddTags(const char *key, const char *value)
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