AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEventBusResult.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/DeadLetterConfig.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EventBridge
25{
26namespace Model
27{
29 {
30 public:
31 AWS_EVENTBRIDGE_API UpdateEventBusResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline UpdateEventBusResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline UpdateEventBusResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline UpdateEventBusResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline UpdateEventBusResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline UpdateEventBusResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline UpdateEventBusResult& WithName(const char* value) { SetName(value); return *this;}
61
63
70 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
71 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
72 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
73 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
74 inline UpdateEventBusResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
75 inline UpdateEventBusResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
76 inline UpdateEventBusResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
78
80
83 inline const Aws::String& GetDescription() const{ return m_description; }
84 inline void SetDescription(const Aws::String& value) { m_description = value; }
85 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
86 inline void SetDescription(const char* value) { m_description.assign(value); }
87 inline UpdateEventBusResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
88 inline UpdateEventBusResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
89 inline UpdateEventBusResult& WithDescription(const char* value) { SetDescription(value); return *this;}
91
93
94 inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
95 inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfig = value; }
96 inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfig = std::move(value); }
98 inline UpdateEventBusResult& WithDeadLetterConfig(DeadLetterConfig&& value) { SetDeadLetterConfig(std::move(value)); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const{ return m_requestId; }
104 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
105 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
106 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
107 inline UpdateEventBusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
108 inline UpdateEventBusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 inline UpdateEventBusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
111 private:
112
113 Aws::String m_arn;
114
115 Aws::String m_name;
116
117 Aws::String m_kmsKeyIdentifier;
118
119 Aws::String m_description;
120
121 DeadLetterConfig m_deadLetterConfig;
122
123 Aws::String m_requestId;
124 };
125
126} // namespace Model
127} // namespace EventBridge
128} // namespace Aws
UpdateEventBusResult & WithArn(const Aws::String &value)
void SetDeadLetterConfig(DeadLetterConfig &&value)
void SetKmsKeyIdentifier(const Aws::String &value)
UpdateEventBusResult & WithName(const char *value)
AWS_EVENTBRIDGE_API UpdateEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEventBusResult & WithKmsKeyIdentifier(const char *value)
UpdateEventBusResult & WithName(const Aws::String &value)
UpdateEventBusResult & WithDescription(Aws::String &&value)
UpdateEventBusResult & WithRequestId(Aws::String &&value)
UpdateEventBusResult & WithName(Aws::String &&value)
const DeadLetterConfig & GetDeadLetterConfig() const
UpdateEventBusResult & WithRequestId(const char *value)
UpdateEventBusResult & WithRequestId(const Aws::String &value)
UpdateEventBusResult & WithDescription(const Aws::String &value)
UpdateEventBusResult & WithArn(Aws::String &&value)
UpdateEventBusResult & WithDescription(const char *value)
UpdateEventBusResult & WithArn(const char *value)
UpdateEventBusResult & WithKmsKeyIdentifier(Aws::String &&value)
UpdateEventBusResult & WithKmsKeyIdentifier(const Aws::String &value)
AWS_EVENTBRIDGE_API UpdateEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeadLetterConfig(const DeadLetterConfig &value)
UpdateEventBusResult & WithDeadLetterConfig(const DeadLetterConfig &value)
UpdateEventBusResult & WithDeadLetterConfig(DeadLetterConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue