AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateWorkerConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
10#include <aws/kafkaconnect/model/WorkerConfigurationRevisionSummary.h>
11#include <aws/kafkaconnect/model/WorkerConfigurationState.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace KafkaConnect {
25namespace Model {
27 public:
28 AWS_KAFKACONNECT_API CreateWorkerConfigurationResult() = default;
31
33
36 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
37 template <typename CreationTimeT = Aws::Utils::DateTime>
38 void SetCreationTime(CreationTimeT&& value) {
39 m_creationTimeHasBeenSet = true;
40 m_creationTime = std::forward<CreationTimeT>(value);
41 }
42 template <typename CreationTimeT = Aws::Utils::DateTime>
44 SetCreationTime(std::forward<CreationTimeT>(value));
45 return *this;
46 }
48
50
53 inline const WorkerConfigurationRevisionSummary& GetLatestRevision() const { return m_latestRevision; }
54 template <typename LatestRevisionT = WorkerConfigurationRevisionSummary>
55 void SetLatestRevision(LatestRevisionT&& value) {
56 m_latestRevisionHasBeenSet = true;
57 m_latestRevision = std::forward<LatestRevisionT>(value);
58 }
59 template <typename LatestRevisionT = WorkerConfigurationRevisionSummary>
61 SetLatestRevision(std::forward<LatestRevisionT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
88 inline const Aws::String& GetWorkerConfigurationArn() const { return m_workerConfigurationArn; }
89 template <typename WorkerConfigurationArnT = Aws::String>
90 void SetWorkerConfigurationArn(WorkerConfigurationArnT&& value) {
91 m_workerConfigurationArnHasBeenSet = true;
92 m_workerConfigurationArn = std::forward<WorkerConfigurationArnT>(value);
93 }
94 template <typename WorkerConfigurationArnT = Aws::String>
96 SetWorkerConfigurationArn(std::forward<WorkerConfigurationArnT>(value));
97 return *this;
98 }
100
102
105 inline WorkerConfigurationState GetWorkerConfigurationState() const { return m_workerConfigurationState; }
107 m_workerConfigurationStateHasBeenSet = true;
108 m_workerConfigurationState = value;
109 }
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 private:
131 Aws::Utils::DateTime m_creationTime{};
132
133 WorkerConfigurationRevisionSummary m_latestRevision;
134
135 Aws::String m_name;
136
137 Aws::String m_workerConfigurationArn;
138
140
141 Aws::String m_requestId;
142 bool m_creationTimeHasBeenSet = false;
143 bool m_latestRevisionHasBeenSet = false;
144 bool m_nameHasBeenSet = false;
145 bool m_workerConfigurationArnHasBeenSet = false;
146 bool m_workerConfigurationStateHasBeenSet = false;
147 bool m_requestIdHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace KafkaConnect
152} // namespace Aws
AWS_KAFKACONNECT_API CreateWorkerConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkerConfigurationResult & WithCreationTime(CreationTimeT &&value)
AWS_KAFKACONNECT_API CreateWorkerConfigurationResult()=default
CreateWorkerConfigurationResult & WithWorkerConfigurationArn(WorkerConfigurationArnT &&value)
const WorkerConfigurationRevisionSummary & GetLatestRevision() const
CreateWorkerConfigurationResult & WithWorkerConfigurationState(WorkerConfigurationState value)
AWS_KAFKACONNECT_API CreateWorkerConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkerConfigurationResult & WithRequestId(RequestIdT &&value)
CreateWorkerConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue