AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateEventBusResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridge/EventBridge_EXPORTS.h>
9#include <aws/eventbridge/model/DeadLetterConfig.h>
10#include <aws/eventbridge/model/LogConfig.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 EventBridge {
24namespace Model {
26 public:
27 AWS_EVENTBRIDGE_API UpdateEventBusResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
73 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
74 template <typename KmsKeyIdentifierT = Aws::String>
75 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
76 m_kmsKeyIdentifierHasBeenSet = true;
77 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
78 }
79 template <typename KmsKeyIdentifierT = Aws::String>
80 UpdateEventBusResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
81 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
97 UpdateEventBusResult& WithDescription(DescriptionT&& value) {
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
105 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
106 template <typename DeadLetterConfigT = DeadLetterConfig>
107 void SetDeadLetterConfig(DeadLetterConfigT&& value) {
108 m_deadLetterConfigHasBeenSet = true;
109 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
110 }
111 template <typename DeadLetterConfigT = DeadLetterConfig>
112 UpdateEventBusResult& WithDeadLetterConfig(DeadLetterConfigT&& value) {
113 SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value));
114 return *this;
115 }
117
119
125 inline const LogConfig& GetLogConfig() const { return m_logConfig; }
126 template <typename LogConfigT = LogConfig>
127 void SetLogConfig(LogConfigT&& value) {
128 m_logConfigHasBeenSet = true;
129 m_logConfig = std::forward<LogConfigT>(value);
130 }
131 template <typename LogConfigT = LogConfig>
132 UpdateEventBusResult& WithLogConfig(LogConfigT&& value) {
133 SetLogConfig(std::forward<LogConfigT>(value));
134 return *this;
135 }
137
139
140 inline const Aws::String& GetRequestId() const { return m_requestId; }
141 template <typename RequestIdT = Aws::String>
142 void SetRequestId(RequestIdT&& value) {
143 m_requestIdHasBeenSet = true;
144 m_requestId = std::forward<RequestIdT>(value);
145 }
146 template <typename RequestIdT = Aws::String>
147 UpdateEventBusResult& WithRequestId(RequestIdT&& value) {
148 SetRequestId(std::forward<RequestIdT>(value));
149 return *this;
150 }
152 private:
153 Aws::String m_arn;
154
155 Aws::String m_name;
156
157 Aws::String m_kmsKeyIdentifier;
158
159 Aws::String m_description;
160
161 DeadLetterConfig m_deadLetterConfig;
162
163 LogConfig m_logConfig;
164
165 Aws::String m_requestId;
166 bool m_arnHasBeenSet = false;
167 bool m_nameHasBeenSet = false;
168 bool m_kmsKeyIdentifierHasBeenSet = false;
169 bool m_descriptionHasBeenSet = false;
170 bool m_deadLetterConfigHasBeenSet = false;
171 bool m_logConfigHasBeenSet = false;
172 bool m_requestIdHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace EventBridge
177} // 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
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