AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
34 AWS_MQ_API UpdateConfigurationResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 UpdateConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
55 template<typename CreatedT = Aws::Utils::DateTime>
56 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
57 template<typename CreatedT = Aws::Utils::DateTime>
58 UpdateConfigurationResult& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
60
62
65 inline const Aws::String& GetId() const { return m_id; }
66 template<typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
68 template<typename IdT = Aws::String>
69 UpdateConfigurationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
71
73
76 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
77 template<typename LatestRevisionT = ConfigurationRevision>
78 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
79 template<typename LatestRevisionT = ConfigurationRevision>
80 UpdateConfigurationResult& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
82
84
89 inline const Aws::String& GetName() const { return m_name; }
90 template<typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
92 template<typename NameT = Aws::String>
93 UpdateConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
95
97
101 inline const Aws::Vector<SanitizationWarning>& GetWarnings() const { return m_warnings; }
102 template<typename WarningsT = Aws::Vector<SanitizationWarning>>
103 void SetWarnings(WarningsT&& value) { m_warningsHasBeenSet = true; m_warnings = std::forward<WarningsT>(value); }
104 template<typename WarningsT = Aws::Vector<SanitizationWarning>>
105 UpdateConfigurationResult& WithWarnings(WarningsT&& value) { SetWarnings(std::forward<WarningsT>(value)); return *this;}
106 template<typename WarningsT = SanitizationWarning>
107 UpdateConfigurationResult& AddWarnings(WarningsT&& value) { m_warningsHasBeenSet = true; m_warnings.emplace_back(std::forward<WarningsT>(value)); return *this; }
109
111
112 inline const Aws::String& GetRequestId() const { return m_requestId; }
113 template<typename RequestIdT = Aws::String>
114 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
115 template<typename RequestIdT = Aws::String>
116 UpdateConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
118 private:
119
120 Aws::String m_arn;
121 bool m_arnHasBeenSet = false;
122
123 Aws::Utils::DateTime m_created{};
124 bool m_createdHasBeenSet = false;
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 ConfigurationRevision m_latestRevision;
130 bool m_latestRevisionHasBeenSet = false;
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
136 bool m_warningsHasBeenSet = false;
137
138 Aws::String m_requestId;
139 bool m_requestIdHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace MQ
144} // namespace Aws
UpdateConfigurationResult & WithCreated(CreatedT &&value)
const ConfigurationRevision & GetLatestRevision() const
UpdateConfigurationResult & WithId(IdT &&value)
UpdateConfigurationResult & AddWarnings(WarningsT &&value)
UpdateConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
UpdateConfigurationResult & WithArn(ArnT &&value)
UpdateConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_MQ_API UpdateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MQ_API UpdateConfigurationResult()=default
UpdateConfigurationResult & WithWarnings(WarningsT &&value)
const Aws::Vector< SanitizationWarning > & GetWarnings() const
UpdateConfigurationResult & WithName(NameT &&value)
AWS_MQ_API UpdateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreated() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue