AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
43 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
44 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
48
50
53 inline const Aws::String& GetDescription() const{ return m_description; }
54 inline void SetDescription(const Aws::String& value) { m_description = value; }
55 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
56 inline void SetDescription(const char* value) { m_description.assign(value); }
57 inline DescribeWorkerConfigurationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
58 inline DescribeWorkerConfigurationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
59 inline DescribeWorkerConfigurationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
61
63
66 inline const WorkerConfigurationRevisionDescription& GetLatestRevision() const{ return m_latestRevision; }
67 inline void SetLatestRevision(const WorkerConfigurationRevisionDescription& value) { m_latestRevision = value; }
68 inline void SetLatestRevision(WorkerConfigurationRevisionDescription&& value) { m_latestRevision = std::move(value); }
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline void SetName(const Aws::String& value) { m_name = value; }
79 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
80 inline void SetName(const char* value) { m_name.assign(value); }
81 inline DescribeWorkerConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline DescribeWorkerConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline DescribeWorkerConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
85
87
90 inline const Aws::String& GetWorkerConfigurationArn() const{ return m_workerConfigurationArn; }
91 inline void SetWorkerConfigurationArn(const Aws::String& value) { m_workerConfigurationArn = value; }
92 inline void SetWorkerConfigurationArn(Aws::String&& value) { m_workerConfigurationArn = std::move(value); }
93 inline void SetWorkerConfigurationArn(const char* value) { m_workerConfigurationArn.assign(value); }
98
100
103 inline const WorkerConfigurationState& GetWorkerConfigurationState() const{ return m_workerConfigurationState; }
104 inline void SetWorkerConfigurationState(const WorkerConfigurationState& value) { m_workerConfigurationState = value; }
105 inline void SetWorkerConfigurationState(WorkerConfigurationState&& value) { m_workerConfigurationState = std::move(value); }
109
111
112 inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
115 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline DescribeWorkerConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline DescribeWorkerConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline DescribeWorkerConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::Utils::DateTime m_creationTime;
123
124 Aws::String m_description;
125
127
128 Aws::String m_name;
129
130 Aws::String m_workerConfigurationArn;
131
132 WorkerConfigurationState m_workerConfigurationState;
133
134 Aws::String m_requestId;
135 };
136
137} // namespace Model
138} // namespace KafkaConnect
139} // namespace Aws
DescribeWorkerConfigurationResult & WithLatestRevision(const WorkerConfigurationRevisionDescription &value)
DescribeWorkerConfigurationResult & WithLatestRevision(WorkerConfigurationRevisionDescription &&value)
DescribeWorkerConfigurationResult & WithWorkerConfigurationArn(Aws::String &&value)
DescribeWorkerConfigurationResult & WithName(const char *value)
AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorkerConfigurationResult & WithCreationTime(const Aws::Utils::DateTime &value)
const WorkerConfigurationRevisionDescription & GetLatestRevision() const
DescribeWorkerConfigurationResult & WithName(Aws::String &&value)
DescribeWorkerConfigurationResult & WithDescription(const char *value)
void SetLatestRevision(const WorkerConfigurationRevisionDescription &value)
DescribeWorkerConfigurationResult & WithDescription(Aws::String &&value)
void SetLatestRevision(WorkerConfigurationRevisionDescription &&value)
DescribeWorkerConfigurationResult & WithWorkerConfigurationArn(const Aws::String &value)
DescribeWorkerConfigurationResult & WithWorkerConfigurationArn(const char *value)
DescribeWorkerConfigurationResult & WithRequestId(const char *value)
AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorkerConfigurationResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeWorkerConfigurationResult & WithWorkerConfigurationState(WorkerConfigurationState &&value)
DescribeWorkerConfigurationResult & WithRequestId(const Aws::String &value)
DescribeWorkerConfigurationResult & WithRequestId(Aws::String &&value)
DescribeWorkerConfigurationResult & WithName(const Aws::String &value)
DescribeWorkerConfigurationResult & WithWorkerConfigurationState(const WorkerConfigurationState &value)
DescribeWorkerConfigurationResult & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue