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/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:
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline CreateConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline CreateConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline CreateConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
56 inline const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; }
57 inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategy = value; }
58 inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategy = std::move(value); }
62
64
67 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
68 inline void SetCreated(const Aws::Utils::DateTime& value) { m_created = value; }
69 inline void SetCreated(Aws::Utils::DateTime&& value) { m_created = std::move(value); }
70 inline CreateConfigurationResult& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
71 inline CreateConfigurationResult& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetId() const{ return m_id; }
79 inline void SetId(const Aws::String& value) { m_id = value; }
80 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
81 inline void SetId(const char* value) { m_id.assign(value); }
82 inline CreateConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
83 inline CreateConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
84 inline CreateConfigurationResult& WithId(const char* value) { SetId(value); return *this;}
86
88
91 inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
92 inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
93 inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
95 inline CreateConfigurationResult& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;}
97
99
104 inline const Aws::String& GetName() const{ return m_name; }
105 inline void SetName(const Aws::String& value) { m_name = value; }
106 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
107 inline void SetName(const char* value) { m_name.assign(value); }
108 inline CreateConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
109 inline CreateConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 inline CreateConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
119 inline CreateConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline CreateConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline CreateConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 private:
124
125 Aws::String m_arn;
126
127 AuthenticationStrategy m_authenticationStrategy;
128
129 Aws::Utils::DateTime m_created;
130
131 Aws::String m_id;
132
133 ConfigurationRevision m_latestRevision;
134
135 Aws::String m_name;
136
137 Aws::String m_requestId;
138 };
139
140} // namespace Model
141} // namespace MQ
142} // namespace Aws
CreateConfigurationResult & WithArn(const char *value)
CreateConfigurationResult & WithName(const char *value)
const Aws::Utils::DateTime & GetCreated() const
CreateConfigurationResult & WithArn(Aws::String &&value)
void SetAuthenticationStrategy(const AuthenticationStrategy &value)
CreateConfigurationResult & WithRequestId(Aws::String &&value)
void SetLatestRevision(const ConfigurationRevision &value)
CreateConfigurationResult & WithCreated(const Aws::Utils::DateTime &value)
CreateConfigurationResult & WithName(const Aws::String &value)
void SetCreated(Aws::Utils::DateTime &&value)
CreateConfigurationResult & WithId(const Aws::String &value)
CreateConfigurationResult & WithCreated(Aws::Utils::DateTime &&value)
CreateConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
void SetCreated(const Aws::Utils::DateTime &value)
CreateConfigurationResult & WithArn(const Aws::String &value)
CreateConfigurationResult & WithId(const char *value)
CreateConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
CreateConfigurationResult & WithName(Aws::String &&value)
const ConfigurationRevision & GetLatestRevision() const
AWS_MQ_API CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationResult & WithRequestId(const char *value)
const AuthenticationStrategy & GetAuthenticationStrategy() const
CreateConfigurationResult & WithAuthenticationStrategy(const AuthenticationStrategy &value)
void SetAuthenticationStrategy(AuthenticationStrategy &&value)
CreateConfigurationResult & WithRequestId(const Aws::String &value)
CreateConfigurationResult & WithAuthenticationStrategy(AuthenticationStrategy &&value)
CreateConfigurationResult & WithId(Aws::String &&value)
void SetLatestRevision(ConfigurationRevision &&value)
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