AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEventBusResult.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 CreateEventBusResult();
34
35
37
40 inline const Aws::String& GetEventBusArn() const{ return m_eventBusArn; }
41 inline void SetEventBusArn(const Aws::String& value) { m_eventBusArn = value; }
42 inline void SetEventBusArn(Aws::String&& value) { m_eventBusArn = std::move(value); }
43 inline void SetEventBusArn(const char* value) { m_eventBusArn.assign(value); }
44 inline CreateEventBusResult& WithEventBusArn(const Aws::String& value) { SetEventBusArn(value); return *this;}
45 inline CreateEventBusResult& WithEventBusArn(Aws::String&& value) { SetEventBusArn(std::move(value)); return *this;}
46 inline CreateEventBusResult& WithEventBusArn(const char* value) { SetEventBusArn(value); return *this;}
48
50
53 inline const Aws::String& GetDescription() const{ return m_description; }
54 inline void SetDescription(const Aws::String& value) { m_description = value; }
55 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
56 inline void SetDescription(const char* value) { m_description.assign(value); }
57 inline CreateEventBusResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
58 inline CreateEventBusResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
59 inline CreateEventBusResult& WithDescription(const char* value) { SetDescription(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 CreateEventBusResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
75 inline CreateEventBusResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
76 inline CreateEventBusResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
78
80
81 inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
82 inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfig = value; }
83 inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfig = std::move(value); }
85 inline CreateEventBusResult& WithDeadLetterConfig(DeadLetterConfig&& value) { SetDeadLetterConfig(std::move(value)); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline CreateEventBusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline CreateEventBusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline CreateEventBusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_eventBusArn;
101
102 Aws::String m_description;
103
104 Aws::String m_kmsKeyIdentifier;
105
106 DeadLetterConfig m_deadLetterConfig;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace EventBridge
113} // namespace Aws
CreateEventBusResult & WithKmsKeyIdentifier(const char *value)
AWS_EVENTBRIDGE_API CreateEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEventBusResult & WithKmsKeyIdentifier(const Aws::String &value)
CreateEventBusResult & WithDescription(const char *value)
void SetDeadLetterConfig(DeadLetterConfig &&value)
CreateEventBusResult & WithEventBusArn(const Aws::String &value)
CreateEventBusResult & WithKmsKeyIdentifier(Aws::String &&value)
CreateEventBusResult & WithEventBusArn(Aws::String &&value)
CreateEventBusResult & WithRequestId(Aws::String &&value)
CreateEventBusResult & WithDeadLetterConfig(DeadLetterConfig &&value)
CreateEventBusResult & WithDescription(const Aws::String &value)
const DeadLetterConfig & GetDeadLetterConfig() const
CreateEventBusResult & WithDeadLetterConfig(const DeadLetterConfig &value)
void SetDeadLetterConfig(const DeadLetterConfig &value)
AWS_EVENTBRIDGE_API CreateEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKmsKeyIdentifier(const Aws::String &value)
CreateEventBusResult & WithRequestId(const char *value)
CreateEventBusResult & WithRequestId(const Aws::String &value)
CreateEventBusResult & WithDescription(Aws::String &&value)
CreateEventBusResult & WithEventBusArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue