AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateEventBusResult.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/DeadLetterConfig.h>
10#include <aws/eventbridge/model/LogConfig.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 EventBridge
26{
27namespace Model
28{
30 {
31 public:
32 AWS_EVENTBRIDGE_API UpdateEventBusResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 UpdateEventBusResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 UpdateEventBusResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
67 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
68 template<typename KmsKeyIdentifierT = Aws::String>
69 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
70 template<typename KmsKeyIdentifierT = Aws::String>
71 UpdateEventBusResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 template<typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
81 template<typename DescriptionT = Aws::String>
82 UpdateEventBusResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
84
86
87 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
88 template<typename DeadLetterConfigT = DeadLetterConfig>
89 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
90 template<typename DeadLetterConfigT = DeadLetterConfig>
91 UpdateEventBusResult& WithDeadLetterConfig(DeadLetterConfigT&& value) { SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value)); return *this;}
93
95
101 inline const LogConfig& GetLogConfig() const { return m_logConfig; }
102 template<typename LogConfigT = LogConfig>
103 void SetLogConfig(LogConfigT&& value) { m_logConfigHasBeenSet = true; m_logConfig = std::forward<LogConfigT>(value); }
104 template<typename LogConfigT = LogConfig>
105 UpdateEventBusResult& WithLogConfig(LogConfigT&& value) { SetLogConfig(std::forward<LogConfigT>(value)); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template<typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
113 template<typename RequestIdT = Aws::String>
114 UpdateEventBusResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
116 private:
117
118 Aws::String m_arn;
119 bool m_arnHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_kmsKeyIdentifier;
125 bool m_kmsKeyIdentifierHasBeenSet = false;
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
130 DeadLetterConfig m_deadLetterConfig;
131 bool m_deadLetterConfigHasBeenSet = false;
132
133 LogConfig m_logConfig;
134 bool m_logConfigHasBeenSet = false;
135
136 Aws::String m_requestId;
137 bool m_requestIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace EventBridge
142} // 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