AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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); }
46 inline CreateWorkerConfigurationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
48
50
53 inline const WorkerConfigurationRevisionSummary& GetLatestRevision() const{ return m_latestRevision; }
54 inline void SetLatestRevision(const WorkerConfigurationRevisionSummary& value) { m_latestRevision = value; }
55 inline void SetLatestRevision(WorkerConfigurationRevisionSummary&& value) { m_latestRevision = std::move(value); }
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline void SetName(const Aws::String& value) { m_name = value; }
66 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
67 inline void SetName(const char* value) { m_name.assign(value); }
68 inline CreateWorkerConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline CreateWorkerConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline CreateWorkerConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
72
74
78 inline const Aws::String& GetWorkerConfigurationArn() const{ return m_workerConfigurationArn; }
79 inline void SetWorkerConfigurationArn(const Aws::String& value) { m_workerConfigurationArn = value; }
80 inline void SetWorkerConfigurationArn(Aws::String&& value) { m_workerConfigurationArn = std::move(value); }
81 inline void SetWorkerConfigurationArn(const char* value) { m_workerConfigurationArn.assign(value); }
86
88
91 inline const WorkerConfigurationState& GetWorkerConfigurationState() const{ return m_workerConfigurationState; }
92 inline void SetWorkerConfigurationState(const WorkerConfigurationState& value) { m_workerConfigurationState = value; }
93 inline void SetWorkerConfigurationState(WorkerConfigurationState&& value) { m_workerConfigurationState = std::move(value); }
97
99
100 inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
102 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline CreateWorkerConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
105 inline CreateWorkerConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
106 inline CreateWorkerConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 private:
109
110 Aws::Utils::DateTime m_creationTime;
111
112 WorkerConfigurationRevisionSummary m_latestRevision;
113
114 Aws::String m_name;
115
116 Aws::String m_workerConfigurationArn;
117
118 WorkerConfigurationState m_workerConfigurationState;
119
120 Aws::String m_requestId;
121 };
122
123} // namespace Model
124} // namespace KafkaConnect
125} // namespace Aws
AWS_KAFKACONNECT_API CreateWorkerConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkerConfigurationResult & WithWorkerConfigurationState(WorkerConfigurationState &&value)
CreateWorkerConfigurationResult & WithLatestRevision(const WorkerConfigurationRevisionSummary &value)
CreateWorkerConfigurationResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetLatestRevision(const WorkerConfigurationRevisionSummary &value)
CreateWorkerConfigurationResult & WithWorkerConfigurationArn(const char *value)
CreateWorkerConfigurationResult & WithName(Aws::String &&value)
CreateWorkerConfigurationResult & WithWorkerConfigurationArn(const Aws::String &value)
void SetWorkerConfigurationState(const WorkerConfigurationState &value)
void SetLatestRevision(WorkerConfigurationRevisionSummary &&value)
CreateWorkerConfigurationResult & WithLatestRevision(WorkerConfigurationRevisionSummary &&value)
CreateWorkerConfigurationResult & WithCreationTime(Aws::Utils::DateTime &&value)
CreateWorkerConfigurationResult & WithRequestId(const char *value)
const WorkerConfigurationRevisionSummary & GetLatestRevision() const
CreateWorkerConfigurationResult & WithName(const char *value)
AWS_KAFKACONNECT_API CreateWorkerConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkerConfigurationResult & WithWorkerConfigurationArn(Aws::String &&value)
CreateWorkerConfigurationResult & WithName(const Aws::String &value)
CreateWorkerConfigurationResult & WithRequestId(const Aws::String &value)
CreateWorkerConfigurationResult & WithRequestId(Aws::String &&value)
CreateWorkerConfigurationResult & WithWorkerConfigurationState(const WorkerConfigurationState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue