AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
ResetChannelStateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace mediapackagev2 {
24namespace Model {
26 public:
27 AWS_MEDIAPACKAGEV2_API ResetChannelStateResult() = default;
30
32
36 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
37 template <typename ChannelGroupNameT = Aws::String>
38 void SetChannelGroupName(ChannelGroupNameT&& value) {
39 m_channelGroupNameHasBeenSet = true;
40 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
41 }
42 template <typename ChannelGroupNameT = Aws::String>
43 ResetChannelStateResult& WithChannelGroupName(ChannelGroupNameT&& value) {
44 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetChannelName() const { return m_channelName; }
54 template <typename ChannelNameT = Aws::String>
55 void SetChannelName(ChannelNameT&& value) {
56 m_channelNameHasBeenSet = true;
57 m_channelName = std::forward<ChannelNameT>(value);
58 }
59 template <typename ChannelNameT = Aws::String>
61 SetChannelName(std::forward<ChannelNameT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetArn() const { return m_arn; }
72 template <typename ArnT = Aws::String>
73 void SetArn(ArnT&& value) {
74 m_arnHasBeenSet = true;
75 m_arn = std::forward<ArnT>(value);
76 }
77 template <typename ArnT = Aws::String>
79 SetArn(std::forward<ArnT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetResetAt() const { return m_resetAt; }
89 template <typename ResetAtT = Aws::Utils::DateTime>
90 void SetResetAt(ResetAtT&& value) {
91 m_resetAtHasBeenSet = true;
92 m_resetAt = std::forward<ResetAtT>(value);
93 }
94 template <typename ResetAtT = Aws::Utils::DateTime>
96 SetResetAt(std::forward<ResetAtT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_channelGroupName;
119
120 Aws::String m_channelName;
121
122 Aws::String m_arn;
123
124 Aws::Utils::DateTime m_resetAt{};
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_channelGroupNameHasBeenSet = false;
129 bool m_channelNameHasBeenSet = false;
130 bool m_arnHasBeenSet = false;
131 bool m_resetAtHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace mediapackagev2
137} // namespace Aws
AWS_MEDIAPACKAGEV2_API ResetChannelStateResult()=default
ResetChannelStateResult & WithChannelName(ChannelNameT &&value)
AWS_MEDIAPACKAGEV2_API ResetChannelStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResetChannelStateResult & WithRequestId(RequestIdT &&value)
AWS_MEDIAPACKAGEV2_API ResetChannelStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResetChannelStateResult & WithChannelGroupName(ChannelGroupNameT &&value)
ResetChannelStateResult & WithResetAt(ResetAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue