AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 <aws/eventbridge/model/LogConfig.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EventBridge
26{
27namespace Model
28{
30 {
31 public:
32 AWS_EVENTBRIDGE_API CreateEventBusResult() = default;
35
36
38
41 inline const Aws::String& GetEventBusArn() const { return m_eventBusArn; }
42 template<typename EventBusArnT = Aws::String>
43 void SetEventBusArn(EventBusArnT&& value) { m_eventBusArnHasBeenSet = true; m_eventBusArn = std::forward<EventBusArnT>(value); }
44 template<typename EventBusArnT = Aws::String>
45 CreateEventBusResult& WithEventBusArn(EventBusArnT&& value) { SetEventBusArn(std::forward<EventBusArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 CreateEventBusResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
67 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
68 template<typename KmsKeyIdentifierT = Aws::String>
69 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
70 template<typename KmsKeyIdentifierT = Aws::String>
71 CreateEventBusResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
73
75
76 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
77 template<typename DeadLetterConfigT = DeadLetterConfig>
78 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
79 template<typename DeadLetterConfigT = DeadLetterConfig>
80 CreateEventBusResult& WithDeadLetterConfig(DeadLetterConfigT&& value) { SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value)); return *this;}
82
84
90 inline const LogConfig& GetLogConfig() const { return m_logConfig; }
91 template<typename LogConfigT = LogConfig>
92 void SetLogConfig(LogConfigT&& value) { m_logConfigHasBeenSet = true; m_logConfig = std::forward<LogConfigT>(value); }
93 template<typename LogConfigT = LogConfig>
94 CreateEventBusResult& WithLogConfig(LogConfigT&& value) { SetLogConfig(std::forward<LogConfigT>(value)); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template<typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
102 template<typename RequestIdT = Aws::String>
103 CreateEventBusResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
105 private:
106
107 Aws::String m_eventBusArn;
108 bool m_eventBusArnHasBeenSet = false;
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112
113 Aws::String m_kmsKeyIdentifier;
114 bool m_kmsKeyIdentifierHasBeenSet = false;
115
116 DeadLetterConfig m_deadLetterConfig;
117 bool m_deadLetterConfigHasBeenSet = false;
118
119 LogConfig m_logConfig;
120 bool m_logConfigHasBeenSet = false;
121
122 Aws::String m_requestId;
123 bool m_requestIdHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace EventBridge
128} // namespace Aws
AWS_EVENTBRIDGE_API CreateEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEventBusResult & WithEventBusArn(EventBusArnT &&value)
CreateEventBusResult & WithDescription(DescriptionT &&value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
AWS_EVENTBRIDGE_API CreateEventBusResult()=default
CreateEventBusResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const DeadLetterConfig & GetDeadLetterConfig() const
CreateEventBusResult & WithDeadLetterConfig(DeadLetterConfigT &&value)
CreateEventBusResult & WithLogConfig(LogConfigT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CreateEventBusResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API CreateEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue