AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeWorkerConfigurationResult.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafkaconnect/model/WorkerConfigurationRevisionDescription.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 DescribeWorkerConfigurationResult() = 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 DescribeWorkerConfigurationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 DescribeWorkerConfigurationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
64 inline const WorkerConfigurationRevisionDescription& GetLatestRevision() const { return m_latestRevision; }
65 template<typename LatestRevisionT = WorkerConfigurationRevisionDescription>
66 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
67 template<typename LatestRevisionT = WorkerConfigurationRevisionDescription>
68 DescribeWorkerConfigurationResult& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 DescribeWorkerConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
86 inline const Aws::String& GetWorkerConfigurationArn() const { return m_workerConfigurationArn; }
87 template<typename WorkerConfigurationArnT = Aws::String>
88 void SetWorkerConfigurationArn(WorkerConfigurationArnT&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::forward<WorkerConfigurationArnT>(value); }
89 template<typename WorkerConfigurationArnT = Aws::String>
90 DescribeWorkerConfigurationResult& WithWorkerConfigurationArn(WorkerConfigurationArnT&& value) { SetWorkerConfigurationArn(std::forward<WorkerConfigurationArnT>(value)); return *this;}
92
94
97 inline WorkerConfigurationState GetWorkerConfigurationState() const { return m_workerConfigurationState; }
98 inline void SetWorkerConfigurationState(WorkerConfigurationState value) { m_workerConfigurationStateHasBeenSet = true; m_workerConfigurationState = value; }
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template<typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
107 template<typename RequestIdT = Aws::String>
108 DescribeWorkerConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
110 private:
111
112 Aws::Utils::DateTime m_creationTime{};
113 bool m_creationTimeHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 WorkerConfigurationRevisionDescription m_latestRevision;
119 bool m_latestRevisionHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_workerConfigurationArn;
125 bool m_workerConfigurationArnHasBeenSet = false;
126
128 bool m_workerConfigurationStateHasBeenSet = false;
129
130 Aws::String m_requestId;
131 bool m_requestIdHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace KafkaConnect
136} // namespace Aws
AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorkerConfigurationResult & WithWorkerConfigurationArn(WorkerConfigurationArnT &&value)
const WorkerConfigurationRevisionDescription & GetLatestRevision() const
DescribeWorkerConfigurationResult & WithCreationTime(CreationTimeT &&value)
AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult()=default
DescribeWorkerConfigurationResult & WithRequestId(RequestIdT &&value)
DescribeWorkerConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
DescribeWorkerConfigurationResult & WithWorkerConfigurationState(WorkerConfigurationState value)
DescribeWorkerConfigurationResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue