AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
UpdateEventBusRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridgev2/EventBridgeV2Request.h>
9#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
10#include <aws/eventbridgev2/model/EncryptionConfiguration.h>
11#include <aws/eventbridgev2/model/StorageConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EventBridgeV2 {
17namespace Model {
18
22 public:
23 AWS_EVENTBRIDGEV2_API UpdateEventBusRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateEventBus"; }
30
31 AWS_EVENTBRIDGEV2_API Aws::String SerializePayload() const override;
32
33 AWS_EVENTBRIDGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
38 AWS_EVENTBRIDGEV2_API EndpointParameters GetEndpointContextParams() const override;
39
41
42 inline const Aws::String& GetEventBusArn() const { return m_eventBusArn; }
43 inline bool EventBusArnHasBeenSet() const { return m_eventBusArnHasBeenSet; }
44 template <typename EventBusArnT = Aws::String>
45 void SetEventBusArn(EventBusArnT&& value) {
46 m_eventBusArnHasBeenSet = true;
47 m_eventBusArn = std::forward<EventBusArnT>(value);
48 }
49 template <typename EventBusArnT = Aws::String>
50 UpdateEventBusRequest& WithEventBusArn(EventBusArnT&& value) {
51 SetEventBusArn(std::forward<EventBusArnT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 UpdateEventBusRequest& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
74 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
75 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
76 template <typename EncryptionConfigurationT = EncryptionConfiguration>
77 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
78 m_encryptionConfigurationHasBeenSet = true;
79 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
80 }
81 template <typename EncryptionConfigurationT = EncryptionConfiguration>
82 UpdateEventBusRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
83 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
84 return *this;
85 }
87
89
90 inline const StorageConfiguration& GetStorageConfiguration() const { return m_storageConfiguration; }
91 inline bool StorageConfigurationHasBeenSet() const { return m_storageConfigurationHasBeenSet; }
92 template <typename StorageConfigurationT = StorageConfiguration>
93 void SetStorageConfiguration(StorageConfigurationT&& value) {
94 m_storageConfigurationHasBeenSet = true;
95 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
96 }
97 template <typename StorageConfigurationT = StorageConfiguration>
98 UpdateEventBusRequest& WithStorageConfiguration(StorageConfigurationT&& value) {
99 SetStorageConfiguration(std::forward<StorageConfigurationT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_eventBusArn;
105
106 Aws::String m_description;
107
108 EncryptionConfiguration m_encryptionConfiguration;
109
110 StorageConfiguration m_storageConfiguration;
111 bool m_eventBusArnHasBeenSet = false;
112 bool m_descriptionHasBeenSet = false;
113 bool m_encryptionConfigurationHasBeenSet = false;
114 bool m_storageConfigurationHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace EventBridgeV2
119} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
UpdateEventBusRequest & WithDescription(DescriptionT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetStorageConfiguration(StorageConfigurationT &&value)
const StorageConfiguration & GetStorageConfiguration() const
AWS_EVENTBRIDGEV2_API EndpointParameters GetEndpointContextParams() const override
UpdateEventBusRequest & WithStorageConfiguration(StorageConfigurationT &&value)
AWS_EVENTBRIDGEV2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_EVENTBRIDGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEventBusRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
UpdateEventBusRequest & WithEventBusArn(EventBusArnT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
AWS_EVENTBRIDGEV2_API UpdateEventBusRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String