AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeEventBusResult.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 <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace EventBridge
27{
28namespace Model
29{
31 {
32 public:
33 AWS_EVENTBRIDGE_API DescribeEventBusResult() = default;
36
37
39
43 inline const Aws::String& GetName() const { return m_name; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 DescribeEventBusResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template<typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
58 template<typename ArnT = Aws::String>
59 DescribeEventBusResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 DescribeEventBusResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
81 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
82 template<typename KmsKeyIdentifierT = Aws::String>
83 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
84 template<typename KmsKeyIdentifierT = Aws::String>
85 DescribeEventBusResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
87
89
90 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
91 template<typename DeadLetterConfigT = DeadLetterConfig>
92 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
93 template<typename DeadLetterConfigT = DeadLetterConfig>
94 DescribeEventBusResult& WithDeadLetterConfig(DeadLetterConfigT&& value) { SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value)); return *this;}
96
98
102 inline const Aws::String& GetPolicy() const { return m_policy; }
103 template<typename PolicyT = Aws::String>
104 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet = true; m_policy = std::forward<PolicyT>(value); }
105 template<typename PolicyT = Aws::String>
106 DescribeEventBusResult& WithPolicy(PolicyT&& value) { SetPolicy(std::forward<PolicyT>(value)); return *this;}
108
110
116 inline const LogConfig& GetLogConfig() const { return m_logConfig; }
117 template<typename LogConfigT = LogConfig>
118 void SetLogConfig(LogConfigT&& value) { m_logConfigHasBeenSet = true; m_logConfig = std::forward<LogConfigT>(value); }
119 template<typename LogConfigT = LogConfig>
120 DescribeEventBusResult& WithLogConfig(LogConfigT&& value) { SetLogConfig(std::forward<LogConfigT>(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
128 template<typename CreationTimeT = Aws::Utils::DateTime>
129 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
130 template<typename CreationTimeT = Aws::Utils::DateTime>
131 DescribeEventBusResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
139 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
140 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
141 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
142 DescribeEventBusResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
144
146
147 inline const Aws::String& GetRequestId() const { return m_requestId; }
148 template<typename RequestIdT = Aws::String>
149 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
150 template<typename RequestIdT = Aws::String>
151 DescribeEventBusResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
153 private:
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
158 Aws::String m_arn;
159 bool m_arnHasBeenSet = false;
160
161 Aws::String m_description;
162 bool m_descriptionHasBeenSet = false;
163
164 Aws::String m_kmsKeyIdentifier;
165 bool m_kmsKeyIdentifierHasBeenSet = false;
166
167 DeadLetterConfig m_deadLetterConfig;
168 bool m_deadLetterConfigHasBeenSet = false;
169
170 Aws::String m_policy;
171 bool m_policyHasBeenSet = false;
172
173 LogConfig m_logConfig;
174 bool m_logConfigHasBeenSet = false;
175
176 Aws::Utils::DateTime m_creationTime{};
177 bool m_creationTimeHasBeenSet = false;
178
179 Aws::Utils::DateTime m_lastModifiedTime{};
180 bool m_lastModifiedTimeHasBeenSet = false;
181
182 Aws::String m_requestId;
183 bool m_requestIdHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace EventBridge
188} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_EVENTBRIDGE_API DescribeEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventBusResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API DescribeEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventBusResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeEventBusResult & WithDeadLetterConfig(DeadLetterConfigT &&value)
DescribeEventBusResult & WithName(NameT &&value)
DescribeEventBusResult & WithPolicy(PolicyT &&value)
DescribeEventBusResult & WithLogConfig(LogConfigT &&value)
DescribeEventBusResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
DescribeEventBusResult & WithDescription(DescriptionT &&value)
DescribeEventBusResult & WithArn(ArnT &&value)
AWS_EVENTBRIDGE_API DescribeEventBusResult()=default
DescribeEventBusResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue