AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline void SetArn(const Aws::String& value) { m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arn.assign(value); }
49 inline CreateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline CreateConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline CreateConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
53
55
60 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
61 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
62 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
64 inline CreateConfigurationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
66
68
73 inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
74 inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
75 inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
77 inline CreateConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;}
79
81
86 inline const Aws::String& GetName() const{ return m_name; }
87 inline void SetName(const Aws::String& value) { m_name = value; }
88 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
89 inline void SetName(const char* value) { m_name.assign(value); }
90 inline CreateConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
91 inline CreateConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 inline CreateConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
94
96
102 inline const ConfigurationState& GetState() const{ return m_state; }
103 inline void SetState(const ConfigurationState& value) { m_state = value; }
104 inline void SetState(ConfigurationState&& value) { m_state = std::move(value); }
105 inline CreateConfigurationResult& WithState(const ConfigurationState& value) { SetState(value); return *this;}
106 inline CreateConfigurationResult& WithState(ConfigurationState&& value) { SetState(std::move(value)); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
115 inline CreateConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline CreateConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline CreateConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
121 Aws::String m_arn;
122
123 Aws::Utils::DateTime m_creationTime;
124
125 ConfigurationRevision m_latestRevision;
126
127 Aws::String m_name;
128
129 ConfigurationState m_state;
130
131 Aws::String m_requestId;
132 };
133
134} // namespace Model
135} // namespace Kafka
136} // namespace Aws
void SetCreationTime(const Aws::Utils::DateTime &value)
CreateConfigurationResult & WithRequestId(Aws::String &&value)
void SetState(const ConfigurationState &value)
const ConfigurationRevision & GetLatestRevision() const
CreateConfigurationResult & WithArn(const char *value)
CreateConfigurationResult & WithRequestId(const Aws::String &value)
CreateConfigurationResult & WithState(const ConfigurationState &value)
void SetLatestRevision(ConfigurationRevision &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetLatestRevision(const ConfigurationRevision &value)
AWS_KAFKA_API CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API CreateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationResult & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
CreateConfigurationResult & WithCreationTime(const Aws::Utils::DateTime &value)
CreateConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
CreateConfigurationResult & WithArn(const Aws::String &value)
CreateConfigurationResult & WithState(ConfigurationState &&value)
CreateConfigurationResult & WithRequestId(const char *value)
CreateConfigurationResult & WithName(const char *value)
CreateConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
CreateConfigurationResult & WithName(Aws::String &&value)
CreateConfigurationResult & WithName(const Aws::String &value)
CreateConfigurationResult & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue