AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateEventBusRequest.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/DeadLetterConfig.h>
11#include <aws/eventbridge/model/LogConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace EventBridge
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_EVENTBRIDGE_API UpdateEventBusRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateEventBus"; }
33
34 AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override;
35
36 AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 UpdateEventBusRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
80 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
81 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
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 UpdateEventBusRequest& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template<typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
96 template<typename DescriptionT = Aws::String>
97 UpdateEventBusRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
99
101
102 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
103 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
104 template<typename DeadLetterConfigT = DeadLetterConfig>
105 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
106 template<typename DeadLetterConfigT = DeadLetterConfig>
107 UpdateEventBusRequest& WithDeadLetterConfig(DeadLetterConfigT&& value) { SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value)); return *this;}
109
111
117 inline const LogConfig& GetLogConfig() const { return m_logConfig; }
118 inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; }
119 template<typename LogConfigT = LogConfig>
120 void SetLogConfig(LogConfigT&& value) { m_logConfigHasBeenSet = true; m_logConfig = std::forward<LogConfigT>(value); }
121 template<typename LogConfigT = LogConfig>
122 UpdateEventBusRequest& WithLogConfig(LogConfigT&& value) { SetLogConfig(std::forward<LogConfigT>(value)); return *this;}
124 private:
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 Aws::String m_kmsKeyIdentifier;
130 bool m_kmsKeyIdentifierHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
135 DeadLetterConfig m_deadLetterConfig;
136 bool m_deadLetterConfigHasBeenSet = false;
137
138 LogConfig m_logConfig;
139 bool m_logConfigHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace EventBridge
144} // namespace Aws
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEventBusRequest & WithDeadLetterConfig(DeadLetterConfigT &&value)
AWS_EVENTBRIDGE_API UpdateEventBusRequest()=default
UpdateEventBusRequest & WithDescription(DescriptionT &&value)
UpdateEventBusRequest & WithLogConfig(LogConfigT &&value)
virtual const char * GetServiceRequestName() const override
const DeadLetterConfig & GetDeadLetterConfig() const
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
UpdateEventBusRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
UpdateEventBusRequest & WithName(NameT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String