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>
113 m_stateHasBeenSet =
true;
125 template <
typename StateReasonT = Aws::String>
127 m_stateReasonHasBeenSet =
true;
128 m_stateReason = std::forward<StateReasonT>(value);
130 template <
typename StateReasonT = Aws::String>
142 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
144 m_lastModifiedTimeHasBeenSet =
true;
145 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
147 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
157 template <
typename RequestIdT = Aws::String>
159 m_requestIdHasBeenSet =
true;
160 m_requestId = std::forward<RequestIdT>(value);
162 template <
typename RequestIdT = Aws::String>
189 bool m_eventBusArnHasBeenSet =
false;
190 bool m_nameHasBeenSet =
false;
191 bool m_descriptionHasBeenSet =
false;
192 bool m_encryptionConfigurationHasBeenSet =
false;
193 bool m_storageConfigurationHasBeenSet =
false;
194 bool m_stateHasBeenSet =
false;
195 bool m_stateReasonHasBeenSet =
false;
196 bool m_lastModifiedTimeHasBeenSet =
false;
197 bool m_requestIdHasBeenSet =
false;
void SetState(BusState value)
UpdateEventBusResult & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
UpdateEventBusResult & WithName(NameT &&value)
UpdateEventBusResult & WithRequestId(RequestIdT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
UpdateEventBusResult & WithEventBusArn(EventBusArnT &&value)
const Aws::String & GetRequestId() const
const StorageConfigurationOutput & GetStorageConfiguration() const
const Aws::String & GetEventBusArn() const
AWS_EVENTBRIDGEV2_API UpdateEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetEventBusArn(EventBusArnT &&value)
const Aws::String & GetDescription() const
UpdateEventBusResult & WithState(BusState value)
AWS_EVENTBRIDGEV2_API UpdateEventBusResult()=default
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::String & GetStateReason() const
UpdateEventBusResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateEventBusResult & WithLastModifiedTime(LastModifiedTimeT &&value)
BusState GetState() const
AWS_EVENTBRIDGEV2_API UpdateEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
UpdateEventBusResult & WithStorageConfiguration(StorageConfigurationT &&value)
const Aws::String & GetName() const
void SetStateReason(StateReasonT &&value)
void SetStorageConfiguration(StorageConfigurationT &&value)
void SetDescription(DescriptionT &&value)
UpdateEventBusResult & WithStateReason(StateReasonT &&value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String