AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConnectorResult.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/ConnectorSsmCommandConfig.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace mgn
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MGN_API CreateConnectorResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline CreateConnectorResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline CreateConnectorResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline CreateConnectorResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetConnectorID() const{ return m_connectorID; }
55 inline void SetConnectorID(const Aws::String& value) { m_connectorID = value; }
56 inline void SetConnectorID(Aws::String&& value) { m_connectorID = std::move(value); }
57 inline void SetConnectorID(const char* value) { m_connectorID.assign(value); }
58 inline CreateConnectorResult& WithConnectorID(const Aws::String& value) { SetConnectorID(value); return *this;}
59 inline CreateConnectorResult& WithConnectorID(Aws::String&& value) { SetConnectorID(std::move(value)); return *this;}
60 inline CreateConnectorResult& WithConnectorID(const char* value) { SetConnectorID(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline void SetName(const Aws::String& value) { m_name = value; }
69 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
70 inline void SetName(const char* value) { m_name.assign(value); }
71 inline CreateConnectorResult& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline CreateConnectorResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline CreateConnectorResult& WithName(const char* value) { SetName(value); return *this;}
75
77
80 inline const ConnectorSsmCommandConfig& GetSsmCommandConfig() const{ return m_ssmCommandConfig; }
81 inline void SetSsmCommandConfig(const ConnectorSsmCommandConfig& value) { m_ssmCommandConfig = value; }
82 inline void SetSsmCommandConfig(ConnectorSsmCommandConfig&& value) { m_ssmCommandConfig = std::move(value); }
86
88
91 inline const Aws::String& GetSsmInstanceID() const{ return m_ssmInstanceID; }
92 inline void SetSsmInstanceID(const Aws::String& value) { m_ssmInstanceID = value; }
93 inline void SetSsmInstanceID(Aws::String&& value) { m_ssmInstanceID = std::move(value); }
94 inline void SetSsmInstanceID(const char* value) { m_ssmInstanceID.assign(value); }
95 inline CreateConnectorResult& WithSsmInstanceID(const Aws::String& value) { SetSsmInstanceID(value); return *this;}
96 inline CreateConnectorResult& WithSsmInstanceID(Aws::String&& value) { SetSsmInstanceID(std::move(value)); return *this;}
97 inline CreateConnectorResult& WithSsmInstanceID(const char* value) { SetSsmInstanceID(value); return *this;}
99
101
104 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
105 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
106 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
107 inline CreateConnectorResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
108 inline CreateConnectorResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
109 inline CreateConnectorResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
110 inline CreateConnectorResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
111 inline CreateConnectorResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
112 inline CreateConnectorResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
113 inline CreateConnectorResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
114 inline CreateConnectorResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
115 inline CreateConnectorResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
117
119
120 inline const Aws::String& GetRequestId() const{ return m_requestId; }
121 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
122 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
123 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
124 inline CreateConnectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
125 inline CreateConnectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
126 inline CreateConnectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
128 private:
129
130 Aws::String m_arn;
131
132 Aws::String m_connectorID;
133
134 Aws::String m_name;
135
136 ConnectorSsmCommandConfig m_ssmCommandConfig;
137
138 Aws::String m_ssmInstanceID;
139
141
142 Aws::String m_requestId;
143 };
144
145} // namespace Model
146} // namespace mgn
147} // namespace Aws
CreateConnectorResult & WithArn(Aws::String &&value)
CreateConnectorResult & WithRequestId(Aws::String &&value)
CreateConnectorResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetSsmInstanceID(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetSsmInstanceID() const
CreateConnectorResult & WithArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetSsmCommandConfig(const ConnectorSsmCommandConfig &value)
CreateConnectorResult & WithRequestId(const Aws::String &value)
CreateConnectorResult & WithSsmInstanceID(Aws::String &&value)
CreateConnectorResult & WithSsmCommandConfig(ConnectorSsmCommandConfig &&value)
void SetArn(const Aws::String &value)
AWS_MGN_API CreateConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectorResult & AddTags(const char *key, Aws::String &&value)
void SetName(const Aws::String &value)
CreateConnectorResult & WithSsmInstanceID(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConnectorResult & WithName(const Aws::String &value)
void SetSsmCommandConfig(ConnectorSsmCommandConfig &&value)
CreateConnectorResult & WithConnectorID(const char *value)
CreateConnectorResult & WithRequestId(const char *value)
const ConnectorSsmCommandConfig & GetSsmCommandConfig() const
CreateConnectorResult & WithArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateConnectorResult & AddTags(Aws::String &&key, const char *value)
CreateConnectorResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConnectorResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConnectorResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateConnectorResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateConnectorResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetConnectorID(const Aws::String &value)
CreateConnectorResult & WithSsmInstanceID(const char *value)
AWS_MGN_API CreateConnectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectorResult & AddTags(const char *key, const char *value)
CreateConnectorResult & WithConnectorID(Aws::String &&value)
CreateConnectorResult & WithName(Aws::String &&value)
CreateConnectorResult & WithConnectorID(const Aws::String &value)
CreateConnectorResult & WithSsmCommandConfig(const ConnectorSsmCommandConfig &value)
CreateConnectorResult & WithName(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue