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/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mq/model/AuthenticationStrategy.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mq/model/ConfigurationRevision.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 MQ
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MQ_API CreateConfigurationResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 CreateConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
54 inline AuthenticationStrategy GetAuthenticationStrategy() const { return m_authenticationStrategy; }
55 inline void SetAuthenticationStrategy(AuthenticationStrategy value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = value; }
58
60
63 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
64 template<typename CreatedT = Aws::Utils::DateTime>
65 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
66 template<typename CreatedT = Aws::Utils::DateTime>
67 CreateConfigurationResult& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 template<typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
77 template<typename IdT = Aws::String>
78 CreateConfigurationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
80
82
85 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
86 template<typename LatestRevisionT = ConfigurationRevision>
87 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
88 template<typename LatestRevisionT = ConfigurationRevision>
89 CreateConfigurationResult& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
91
93
98 inline const Aws::String& GetName() const { return m_name; }
99 template<typename NameT = Aws::String>
100 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
101 template<typename NameT = Aws::String>
102 CreateConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 CreateConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_arn;
116 bool m_arnHasBeenSet = false;
117
119 bool m_authenticationStrategyHasBeenSet = false;
120
121 Aws::Utils::DateTime m_created{};
122 bool m_createdHasBeenSet = false;
123
124 Aws::String m_id;
125 bool m_idHasBeenSet = false;
126
127 ConfigurationRevision m_latestRevision;
128 bool m_latestRevisionHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace MQ
139} // namespace Aws
CreateConfigurationResult & WithCreated(CreatedT &&value)
CreateConfigurationResult & WithRequestId(RequestIdT &&value)
CreateConfigurationResult & WithArn(ArnT &&value)
void SetAuthenticationStrategy(AuthenticationStrategy value)
CreateConfigurationResult & WithAuthenticationStrategy(AuthenticationStrategy value)
const Aws::Utils::DateTime & GetCreated() const
CreateConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
AuthenticationStrategy GetAuthenticationStrategy() const
CreateConfigurationResult & WithName(NameT &&value)
AWS_MQ_API CreateConfigurationResult()=default
CreateConfigurationResult & WithId(IdT &&value)
const ConfigurationRevision & GetLatestRevision() const
AWS_MQ_API CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MQ_API CreateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue