AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateEventBusResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
10#include <aws/eventbridge/model/DeadLetterConfig.h>
11#include <aws/eventbridge/model/LogConfig.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EventBridge {
25namespace Model {
27 public:
28 AWS_EVENTBRIDGE_API UpdateEventBusResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
74 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
75 template <typename KmsKeyIdentifierT = Aws::String>
76 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
77 m_kmsKeyIdentifierHasBeenSet = true;
78 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
79 }
80 template <typename KmsKeyIdentifierT = Aws::String>
81 UpdateEventBusResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
82 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
98 UpdateEventBusResult& WithDescription(DescriptionT&& value) {
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
106 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
107 template <typename DeadLetterConfigT = DeadLetterConfig>
108 void SetDeadLetterConfig(DeadLetterConfigT&& value) {
109 m_deadLetterConfigHasBeenSet = true;
110 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
111 }
112 template <typename DeadLetterConfigT = DeadLetterConfig>
113 UpdateEventBusResult& WithDeadLetterConfig(DeadLetterConfigT&& value) {
114 SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value));
115 return *this;
116 }
118
120
126 inline const LogConfig& GetLogConfig() const { return m_logConfig; }
127 template <typename LogConfigT = LogConfig>
128 void SetLogConfig(LogConfigT&& value) {
129 m_logConfigHasBeenSet = true;
130 m_logConfig = std::forward<LogConfigT>(value);
131 }
132 template <typename LogConfigT = LogConfig>
133 UpdateEventBusResult& WithLogConfig(LogConfigT&& value) {
134 SetLogConfig(std::forward<LogConfigT>(value));
135 return *this;
136 }
138
140
141 inline const Aws::String& GetRequestId() const { return m_requestId; }
142 template <typename RequestIdT = Aws::String>
143 void SetRequestId(RequestIdT&& value) {
144 m_requestIdHasBeenSet = true;
145 m_requestId = std::forward<RequestIdT>(value);
146 }
147 template <typename RequestIdT = Aws::String>
148 UpdateEventBusResult& WithRequestId(RequestIdT&& value) {
149 SetRequestId(std::forward<RequestIdT>(value));
150 return *this;
151 }
153 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
154
155 private:
156 Aws::String m_arn;
157
158 Aws::String m_name;
159
160 Aws::String m_kmsKeyIdentifier;
161
162 Aws::String m_description;
163
164 DeadLetterConfig m_deadLetterConfig;
165
166 LogConfig m_logConfig;
167
168 Aws::String m_requestId;
169 Aws::Http::HttpResponseCode m_HttpResponseCode;
170 bool m_arnHasBeenSet = false;
171 bool m_nameHasBeenSet = false;
172 bool m_kmsKeyIdentifierHasBeenSet = false;
173 bool m_descriptionHasBeenSet = false;
174 bool m_deadLetterConfigHasBeenSet = false;
175 bool m_logConfigHasBeenSet = false;
176 bool m_requestIdHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace EventBridge
181} // namespace Aws
UpdateEventBusResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
UpdateEventBusResult & WithName(NameT &&value)
UpdateEventBusResult & WithDeadLetterConfig(DeadLetterConfigT &&value)
AWS_EVENTBRIDGE_API UpdateEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
AWS_EVENTBRIDGE_API UpdateEventBusResult()=default
UpdateEventBusResult & WithArn(ArnT &&value)
const DeadLetterConfig & GetDeadLetterConfig() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
UpdateEventBusResult & WithDescription(DescriptionT &&value)
UpdateEventBusResult & WithRequestId(RequestIdT &&value)
UpdateEventBusResult & WithLogConfig(LogConfigT &&value)
AWS_EVENTBRIDGE_API UpdateEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue