AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
12
13namespace Aws
14{
15namespace EventBridge
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_EVENTBRIDGE_API UpdateEventBusRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateEventBus"; }
32
33 AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override;
34
35 AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline UpdateEventBusRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline UpdateEventBusRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline UpdateEventBusRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
80 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
81 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
82 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
83 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
84 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
85 inline UpdateEventBusRequest& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
86 inline UpdateEventBusRequest& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
87 inline UpdateEventBusRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
89
91
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
99 inline UpdateEventBusRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline UpdateEventBusRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline UpdateEventBusRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
103
105
106 inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
107 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
108 inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = value; }
109 inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::move(value); }
111 inline UpdateEventBusRequest& WithDeadLetterConfig(DeadLetterConfig&& value) { SetDeadLetterConfig(std::move(value)); return *this;}
113 private:
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_kmsKeyIdentifier;
119 bool m_kmsKeyIdentifierHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 DeadLetterConfig m_deadLetterConfig;
125 bool m_deadLetterConfigHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace EventBridge
130} // namespace Aws
UpdateEventBusRequest & WithKmsKeyIdentifier(Aws::String &&value)
UpdateEventBusRequest & WithDescription(Aws::String &&value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEventBusRequest & WithDeadLetterConfig(DeadLetterConfig &&value)
UpdateEventBusRequest & WithName(const Aws::String &value)
UpdateEventBusRequest & WithName(const char *value)
UpdateEventBusRequest & WithDescription(const Aws::String &value)
UpdateEventBusRequest & WithKmsKeyIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateEventBusRequest & WithDescription(const char *value)
const DeadLetterConfig & GetDeadLetterConfig() const
void SetDeadLetterConfig(const DeadLetterConfig &value)
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
UpdateEventBusRequest & WithName(Aws::String &&value)
UpdateEventBusRequest & WithDeadLetterConfig(const DeadLetterConfig &value)
UpdateEventBusRequest & WithKmsKeyIdentifier(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String