AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateWorkerConfigurationResult.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/kafkaconnect/model/WorkerConfigurationRevisionSummary.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kafkaconnect/model/WorkerConfigurationState.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace KafkaConnect
27{
28namespace Model
29{
31 {
32 public:
33 AWS_KAFKACONNECT_API CreateWorkerConfigurationResult() = default;
36
37
39
42 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
43 template<typename CreationTimeT = Aws::Utils::DateTime>
44 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
45 template<typename CreationTimeT = Aws::Utils::DateTime>
46 CreateWorkerConfigurationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
48
50
53 inline const WorkerConfigurationRevisionSummary& GetLatestRevision() const { return m_latestRevision; }
54 template<typename LatestRevisionT = WorkerConfigurationRevisionSummary>
55 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
56 template<typename LatestRevisionT = WorkerConfigurationRevisionSummary>
57 CreateWorkerConfigurationResult& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const { return m_name; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 CreateWorkerConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
76 inline const Aws::String& GetWorkerConfigurationArn() const { return m_workerConfigurationArn; }
77 template<typename WorkerConfigurationArnT = Aws::String>
78 void SetWorkerConfigurationArn(WorkerConfigurationArnT&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::forward<WorkerConfigurationArnT>(value); }
79 template<typename WorkerConfigurationArnT = Aws::String>
80 CreateWorkerConfigurationResult& WithWorkerConfigurationArn(WorkerConfigurationArnT&& value) { SetWorkerConfigurationArn(std::forward<WorkerConfigurationArnT>(value)); return *this;}
82
84
87 inline WorkerConfigurationState GetWorkerConfigurationState() const { return m_workerConfigurationState; }
88 inline void SetWorkerConfigurationState(WorkerConfigurationState value) { m_workerConfigurationStateHasBeenSet = true; m_workerConfigurationState = value; }
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 CreateWorkerConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 Aws::Utils::DateTime m_creationTime{};
103 bool m_creationTimeHasBeenSet = false;
104
105 WorkerConfigurationRevisionSummary m_latestRevision;
106 bool m_latestRevisionHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Aws::String m_workerConfigurationArn;
112 bool m_workerConfigurationArnHasBeenSet = false;
113
115 bool m_workerConfigurationStateHasBeenSet = false;
116
117 Aws::String m_requestId;
118 bool m_requestIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace KafkaConnect
123} // 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