AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
35
36
38
43 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
44 template<typename ChannelGroupNameT = Aws::String>
45 void SetChannelGroupName(ChannelGroupNameT&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::forward<ChannelGroupNameT>(value); }
46 template<typename ChannelGroupNameT = Aws::String>
47 CreateChannelGroupResult& WithChannelGroupName(ChannelGroupNameT&& value) { SetChannelGroupName(std::forward<ChannelGroupNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template<typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
57 template<typename ArnT = Aws::String>
58 CreateChannelGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
60
62
67 inline const Aws::String& GetEgressDomain() const { return m_egressDomain; }
68 template<typename EgressDomainT = Aws::String>
69 void SetEgressDomain(EgressDomainT&& value) { m_egressDomainHasBeenSet = true; m_egressDomain = std::forward<EgressDomainT>(value); }
70 template<typename EgressDomainT = Aws::String>
71 CreateChannelGroupResult& WithEgressDomain(EgressDomainT&& value) { SetEgressDomain(std::forward<EgressDomainT>(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
79 template<typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
81 template<typename CreatedAtT = Aws::Utils::DateTime>
82 CreateChannelGroupResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
90 template<typename ModifiedAtT = Aws::Utils::DateTime>
91 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
92 template<typename ModifiedAtT = Aws::Utils::DateTime>
93 CreateChannelGroupResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
95
97
101 inline const Aws::String& GetETag() const { return m_eTag; }
102 template<typename ETagT = Aws::String>
103 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
104 template<typename ETagT = Aws::String>
105 CreateChannelGroupResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
107
109
112 inline const Aws::String& GetDescription() const { return m_description; }
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 CreateChannelGroupResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
118
120
124 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
125 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
127 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 CreateChannelGroupResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
129 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
130 CreateChannelGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
131 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template<typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
140 template<typename RequestIdT = Aws::String>
141 CreateChannelGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
143 private:
144
145 Aws::String m_channelGroupName;
146 bool m_channelGroupNameHasBeenSet = false;
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::String m_egressDomain;
152 bool m_egressDomainHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createdAt{};
155 bool m_createdAtHasBeenSet = false;
156
157 Aws::Utils::DateTime m_modifiedAt{};
158 bool m_modifiedAtHasBeenSet = false;
159
160 Aws::String m_eTag;
161 bool m_eTagHasBeenSet = false;
162
163 Aws::String m_description;
164 bool m_descriptionHasBeenSet = false;
165
167 bool m_tagsHasBeenSet = false;
168
169 Aws::String m_requestId;
170 bool m_requestIdHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace mediapackagev2
175} // namespace Aws
AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult()=default
CreateChannelGroupResult & WithCreatedAt(CreatedAtT &&value)
CreateChannelGroupResult & WithModifiedAt(ModifiedAtT &&value)
CreateChannelGroupResult & WithRequestId(RequestIdT &&value)
CreateChannelGroupResult & WithChannelGroupName(ChannelGroupNameT &&value)
CreateChannelGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateChannelGroupResult & WithEgressDomain(EgressDomainT &&value)
AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelGroupResult & WithDescription(DescriptionT &&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