AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventBusResult.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/core/utils/DateTime.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 DescribeEventBusResult();
35
36
38
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline void SetName(const Aws::String& value) { m_name = value; }
44 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
45 inline void SetName(const char* value) { m_name.assign(value); }
46 inline DescribeEventBusResult& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline DescribeEventBusResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline DescribeEventBusResult& WithName(const char* value) { SetName(value); return *this;}
50
52
56 inline const Aws::String& GetArn() const{ return m_arn; }
57 inline void SetArn(const Aws::String& value) { m_arn = value; }
58 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
59 inline void SetArn(const char* value) { m_arn.assign(value); }
60 inline DescribeEventBusResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 inline DescribeEventBusResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
62 inline DescribeEventBusResult& WithArn(const char* value) { SetArn(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline void SetDescription(const Aws::String& value) { m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_description.assign(value); }
73 inline DescribeEventBusResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline DescribeEventBusResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline DescribeEventBusResult& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
86 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
87 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
88 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
89 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
90 inline DescribeEventBusResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
91 inline DescribeEventBusResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
92 inline DescribeEventBusResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
94
96
97 inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
98 inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfig = value; }
99 inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfig = std::move(value); }
101 inline DescribeEventBusResult& WithDeadLetterConfig(DeadLetterConfig&& value) { SetDeadLetterConfig(std::move(value)); return *this;}
103
105
109 inline const Aws::String& GetPolicy() const{ return m_policy; }
110 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
111 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
112 inline void SetPolicy(const char* value) { m_policy.assign(value); }
113 inline DescribeEventBusResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
114 inline DescribeEventBusResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
115 inline DescribeEventBusResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
123 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
124 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
126 inline DescribeEventBusResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
134 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
135 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
137 inline DescribeEventBusResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline DescribeEventBusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline DescribeEventBusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline DescribeEventBusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_name;
153
154 Aws::String m_arn;
155
156 Aws::String m_description;
157
158 Aws::String m_kmsKeyIdentifier;
159
160 DeadLetterConfig m_deadLetterConfig;
161
162 Aws::String m_policy;
163
164 Aws::Utils::DateTime m_creationTime;
165
166 Aws::Utils::DateTime m_lastModifiedTime;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace EventBridge
173} // namespace Aws
DescribeEventBusResult & WithDeadLetterConfig(const DeadLetterConfig &value)
DescribeEventBusResult & WithKmsKeyIdentifier(Aws::String &&value)
DescribeEventBusResult & WithName(Aws::String &&value)
DescribeEventBusResult & WithPolicy(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_EVENTBRIDGE_API DescribeEventBusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventBusResult & WithName(const char *value)
AWS_EVENTBRIDGE_API DescribeEventBusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventBusResult & WithRequestId(Aws::String &&value)
DescribeEventBusResult & WithName(const Aws::String &value)
DescribeEventBusResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeEventBusResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeEventBusResult & WithDescription(Aws::String &&value)
DescribeEventBusResult & WithRequestId(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeEventBusResult & WithDescription(const Aws::String &value)
void SetDeadLetterConfig(const DeadLetterConfig &value)
DescribeEventBusResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeEventBusResult & WithPolicy(const char *value)
DescribeEventBusResult & WithRequestId(const char *value)
DescribeEventBusResult & WithPolicy(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeEventBusResult & WithArn(const char *value)
DescribeEventBusResult & WithKmsKeyIdentifier(const char *value)
DescribeEventBusResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeEventBusResult & WithKmsKeyIdentifier(const Aws::String &value)
DescribeEventBusResult & WithDescription(const char *value)
DescribeEventBusResult & WithDeadLetterConfig(DeadLetterConfig &&value)
DescribeEventBusResult & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeEventBusResult & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue