AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateConfigurationResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kafka/model/ConfigurationRevision.h>
11#include <aws/kafka/model/ConfigurationState.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 Kafka
27{
28namespace Model
29{
31 {
32 public:
33 AWS_KAFKA_API CreateConfigurationResult() = default;
36
37
39
45 inline const Aws::String& GetArn() const { return m_arn; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 CreateConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
58 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
59 template<typename CreationTimeT = Aws::Utils::DateTime>
60 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
61 template<typename CreationTimeT = Aws::Utils::DateTime>
62 CreateConfigurationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
64
66
71 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
72 template<typename LatestRevisionT = ConfigurationRevision>
73 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
74 template<typename LatestRevisionT = ConfigurationRevision>
75 CreateConfigurationResult& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
77
79
84 inline const Aws::String& GetName() const { return m_name; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 CreateConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
98 inline ConfigurationState GetState() const { return m_state; }
99 inline void SetState(ConfigurationState value) { m_stateHasBeenSet = true; m_state = value; }
100 inline CreateConfigurationResult& WithState(ConfigurationState value) { SetState(value); return *this;}
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template<typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
108 template<typename RequestIdT = Aws::String>
109 CreateConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::Utils::DateTime m_creationTime{};
117 bool m_creationTimeHasBeenSet = false;
118
119 ConfigurationRevision m_latestRevision;
120 bool m_latestRevisionHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
126 bool m_stateHasBeenSet = false;
127
128 Aws::String m_requestId;
129 bool m_requestIdHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Kafka
134} // namespace Aws
const ConfigurationRevision & GetLatestRevision() const
CreateConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
CreateConfigurationResult & WithState(ConfigurationState value)
CreateConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_KAFKA_API CreateConfigurationResult()=default
CreateConfigurationResult & WithName(NameT &&value)
AWS_KAFKA_API CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationResult & WithCreationTime(CreationTimeT &&value)
AWS_KAFKA_API CreateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
CreateConfigurationResult & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue