AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetChannelGroupResult.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 GetChannelGroupResult() = 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 GetChannelGroupResult& 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 GetChannelGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
60
62
66 inline const Aws::String& GetEgressDomain() const { return m_egressDomain; }
67 template<typename EgressDomainT = Aws::String>
68 void SetEgressDomain(EgressDomainT&& value) { m_egressDomainHasBeenSet = true; m_egressDomain = std::forward<EgressDomainT>(value); }
69 template<typename EgressDomainT = Aws::String>
70 GetChannelGroupResult& WithEgressDomain(EgressDomainT&& value) { SetEgressDomain(std::forward<EgressDomainT>(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
78 template<typename CreatedAtT = Aws::Utils::DateTime>
79 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
80 template<typename CreatedAtT = Aws::Utils::DateTime>
81 GetChannelGroupResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
89 template<typename ModifiedAtT = Aws::Utils::DateTime>
90 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
91 template<typename ModifiedAtT = Aws::Utils::DateTime>
92 GetChannelGroupResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
94
96
99 inline const Aws::String& GetDescription() const { return m_description; }
100 template<typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
102 template<typename DescriptionT = Aws::String>
103 GetChannelGroupResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
105
107
111 inline const Aws::String& GetETag() const { return m_eTag; }
112 template<typename ETagT = Aws::String>
113 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
114 template<typename ETagT = Aws::String>
115 GetChannelGroupResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
117
119
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
124 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
126 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 GetChannelGroupResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
128 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
129 GetChannelGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
130 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
131 }
133
135
136 inline const Aws::String& GetRequestId() const { return m_requestId; }
137 template<typename RequestIdT = Aws::String>
138 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
139 template<typename RequestIdT = Aws::String>
140 GetChannelGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
142 private:
143
144 Aws::String m_channelGroupName;
145 bool m_channelGroupNameHasBeenSet = false;
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 Aws::String m_egressDomain;
151 bool m_egressDomainHasBeenSet = false;
152
153 Aws::Utils::DateTime m_createdAt{};
154 bool m_createdAtHasBeenSet = false;
155
156 Aws::Utils::DateTime m_modifiedAt{};
157 bool m_modifiedAtHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
162 Aws::String m_eTag;
163 bool m_eTagHasBeenSet = false;
164
166 bool m_tagsHasBeenSet = false;
167
168 Aws::String m_requestId;
169 bool m_requestIdHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace mediapackagev2
174} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetChannelGroupResult & WithCreatedAt(CreatedAtT &&value)
AWS_MEDIAPACKAGEV2_API GetChannelGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelGroupResult & WithModifiedAt(ModifiedAtT &&value)
GetChannelGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIAPACKAGEV2_API GetChannelGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelGroupResult & WithEgressDomain(EgressDomainT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetChannelGroupResult & WithETag(ETagT &&value)
GetChannelGroupResult & WithTags(TagsT &&value)
GetChannelGroupResult & WithRequestId(RequestIdT &&value)
GetChannelGroupResult & WithDescription(DescriptionT &&value)
GetChannelGroupResult & WithChannelGroupName(ChannelGroupNameT &&value)
GetChannelGroupResult & WithArn(ArnT &&value)
AWS_MEDIAPACKAGEV2_API GetChannelGroupResult()=default
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