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/crt/cbor/Cbor.h>
11#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
12#include <aws/eventbridgev2/model/BusState.h>
13#include <aws/eventbridgev2/model/EncryptionConfiguration.h>
14#include <aws/eventbridgev2/model/StorageConfigurationOutput.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace EventBridgeV2 {
37 template <
typename EventBusArnT = Aws::String>
39 m_eventBusArnHasBeenSet =
true;
40 m_eventBusArn = std::forward<EventBusArnT>(value);
42 template <
typename EventBusArnT = Aws::String>
52 template <
typename NameT = Aws::String>
54 m_nameHasBeenSet =
true;
55 m_name = std::forward<NameT>(value);
57 template <
typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
67 template <
typename DescriptionT = Aws::String>
69 m_descriptionHasBeenSet =
true;
70 m_description = std::forward<DescriptionT>(value);
72 template <
typename DescriptionT = Aws::String>
82 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
84 m_encryptionConfigurationHasBeenSet =
true;
85 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
87 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
97 template <
typename StorageConfigurationT = StorageConfigurationOutput>
99 m_storageConfigurationHasBeenSet =
true;
100 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
102 template <
typename StorageConfigurationT = StorageConfigurationOutput>
114 template <
typename CreationTimeT = Aws::Utils::DateTime>
116 m_creationTimeHasBeenSet =
true;
117 m_creationTime = std::forward<CreationTimeT>(value);
119 template <
typename CreationTimeT = Aws::Utils::DateTime>
131 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
133 m_lastModifiedTimeHasBeenSet =
true;
134 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
136 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
147 m_stateHasBeenSet =
true;
159 template <
typename StateReasonT = Aws::String>
161 m_stateReasonHasBeenSet =
true;
162 m_stateReason = std::forward<StateReasonT>(value);
164 template <
typename StateReasonT = Aws::String>
174 template <
typename RequestIdT = Aws::String>
176 m_requestIdHasBeenSet =
true;
177 m_requestId = std::forward<RequestIdT>(value);
179 template <
typename RequestIdT = Aws::String>
208 bool m_eventBusArnHasBeenSet =
false;
209 bool m_nameHasBeenSet =
false;
210 bool m_descriptionHasBeenSet =
false;
211 bool m_encryptionConfigurationHasBeenSet =
false;
212 bool m_storageConfigurationHasBeenSet =
false;
213 bool m_creationTimeHasBeenSet =
false;
214 bool m_lastModifiedTimeHasBeenSet =
false;
215 bool m_stateHasBeenSet =
false;
216 bool m_stateReasonHasBeenSet =
false;
217 bool m_requestIdHasBeenSet =
false;
const StorageConfigurationOutput & GetStorageConfiguration() const
DescribeEventBusResult & WithStorageConfiguration(StorageConfigurationT &&value)
const Aws::String & GetName() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
const Aws::String & GetStateReason() const
DescribeEventBusResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetStorageConfiguration(StorageConfigurationT &&value)
void SetDescription(DescriptionT &&value)
DescribeEventBusResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetDescription() const
DescribeEventBusResult & WithName(NameT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetEventBusArn() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetEventBusArn(EventBusArnT &&value)
void SetCreationTime(CreationTimeT &&value)
DescribeEventBusResult & WithState(BusState value)
AWS_EVENTBRIDGEV2_API DescribeEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeEventBusResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_EVENTBRIDGEV2_API DescribeEventBusResult()=default
AWS_EVENTBRIDGEV2_API DescribeEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetStateReason(StateReasonT &&value)
DescribeEventBusResult & WithStateReason(StateReasonT &&value)
DescribeEventBusResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetState(BusState value)
DescribeEventBusResult & WithEventBusArn(EventBusArnT &&value)
const Aws::String & GetRequestId() const
void SetName(NameT &&value)
DescribeEventBusResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
BusState GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String