AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConfigurationResult.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/mq/model/ConfigurationRevision.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mq/model/SanitizationWarning.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MQ
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline UpdateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline UpdateConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline UpdateConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
57 inline void SetCreated(const Aws::Utils::DateTime& value) { m_created = value; }
58 inline void SetCreated(Aws::Utils::DateTime&& value) { m_created = std::move(value); }
59 inline UpdateConfigurationResult& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
60 inline UpdateConfigurationResult& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetId() const{ return m_id; }
68 inline void SetId(const Aws::String& value) { m_id = value; }
69 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
70 inline void SetId(const char* value) { m_id.assign(value); }
71 inline UpdateConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
72 inline UpdateConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 inline UpdateConfigurationResult& WithId(const char* value) { SetId(value); return *this;}
75
77
80 inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
81 inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
82 inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
84 inline UpdateConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;}
86
88
93 inline const Aws::String& GetName() const{ return m_name; }
94 inline void SetName(const Aws::String& value) { m_name = value; }
95 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
96 inline void SetName(const char* value) { m_name.assign(value); }
97 inline UpdateConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline UpdateConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline UpdateConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
101
103
107 inline const Aws::Vector<SanitizationWarning>& GetWarnings() const{ return m_warnings; }
108 inline void SetWarnings(const Aws::Vector<SanitizationWarning>& value) { m_warnings = value; }
109 inline void SetWarnings(Aws::Vector<SanitizationWarning>&& value) { m_warnings = std::move(value); }
111 inline UpdateConfigurationResult& WithWarnings(Aws::Vector<SanitizationWarning>&& value) { SetWarnings(std::move(value)); return *this;}
112 inline UpdateConfigurationResult& AddWarnings(const SanitizationWarning& value) { m_warnings.push_back(value); return *this; }
113 inline UpdateConfigurationResult& AddWarnings(SanitizationWarning&& value) { m_warnings.push_back(std::move(value)); return *this; }
115
117
118 inline const Aws::String& GetRequestId() const{ return m_requestId; }
119 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
120 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
121 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
122 inline UpdateConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
123 inline UpdateConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
124 inline UpdateConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
126 private:
127
128 Aws::String m_arn;
129
130 Aws::Utils::DateTime m_created;
131
132 Aws::String m_id;
133
134 ConfigurationRevision m_latestRevision;
135
136 Aws::String m_name;
137
139
140 Aws::String m_requestId;
141 };
142
143} // namespace Model
144} // namespace MQ
145} // namespace Aws
void SetLatestRevision(ConfigurationRevision &&value)
UpdateConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
UpdateConfigurationResult & WithName(const char *value)
UpdateConfigurationResult & AddWarnings(SanitizationWarning &&value)
UpdateConfigurationResult & WithArn(const char *value)
const ConfigurationRevision & GetLatestRevision() const
UpdateConfigurationResult & WithRequestId(const Aws::String &value)
void SetCreated(Aws::Utils::DateTime &&value)
UpdateConfigurationResult & WithName(const Aws::String &value)
UpdateConfigurationResult & WithArn(const Aws::String &value)
UpdateConfigurationResult & WithRequestId(Aws::String &&value)
UpdateConfigurationResult & WithCreated(const Aws::Utils::DateTime &value)
AWS_MQ_API UpdateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConfigurationResult & WithArn(Aws::String &&value)
void SetLatestRevision(const ConfigurationRevision &value)
void SetCreated(const Aws::Utils::DateTime &value)
UpdateConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
const Aws::Vector< SanitizationWarning > & GetWarnings() const
UpdateConfigurationResult & WithId(Aws::String &&value)
UpdateConfigurationResult & WithWarnings(const Aws::Vector< SanitizationWarning > &value)
void SetWarnings(Aws::Vector< SanitizationWarning > &&value)
void SetWarnings(const Aws::Vector< SanitizationWarning > &value)
UpdateConfigurationResult & WithId(const Aws::String &value)
UpdateConfigurationResult & WithWarnings(Aws::Vector< SanitizationWarning > &&value)
UpdateConfigurationResult & WithName(Aws::String &&value)
UpdateConfigurationResult & AddWarnings(const SanitizationWarning &value)
AWS_MQ_API UpdateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreated() const
UpdateConfigurationResult & WithCreated(Aws::Utils::DateTime &&value)
UpdateConfigurationResult & WithId(const char *value)
UpdateConfigurationResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue