AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectorResult.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 UpdateConnectorResult();
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 UpdateConnectorResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline UpdateConnectorResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline UpdateConnectorResult& 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 UpdateConnectorResult& WithConnectorID(const Aws::String& value) { SetConnectorID(value); return *this;}
59 inline UpdateConnectorResult& WithConnectorID(Aws::String&& value) { SetConnectorID(std::move(value)); return *this;}
60 inline UpdateConnectorResult& 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 UpdateConnectorResult& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline UpdateConnectorResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline UpdateConnectorResult& 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 UpdateConnectorResult& WithSsmInstanceID(const Aws::String& value) { SetSsmInstanceID(value); return *this;}
96 inline UpdateConnectorResult& WithSsmInstanceID(Aws::String&& value) { SetSsmInstanceID(std::move(value)); return *this;}
97 inline UpdateConnectorResult& 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 UpdateConnectorResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
108 inline UpdateConnectorResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
109 inline UpdateConnectorResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
110 inline UpdateConnectorResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
111 inline UpdateConnectorResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
112 inline UpdateConnectorResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
113 inline UpdateConnectorResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
114 inline UpdateConnectorResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
115 inline UpdateConnectorResult& 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 UpdateConnectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
125 inline UpdateConnectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
126 inline UpdateConnectorResult& 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
UpdateConnectorResult & WithArn(const Aws::String &value)
UpdateConnectorResult & WithConnectorID(const char *value)
UpdateConnectorResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateConnectorResult & WithSsmCommandConfig(ConnectorSsmCommandConfig &&value)
UpdateConnectorResult & WithRequestId(const Aws::String &value)
UpdateConnectorResult & WithSsmCommandConfig(const ConnectorSsmCommandConfig &value)
UpdateConnectorResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(const Aws::String &value)
void SetSsmCommandConfig(const ConnectorSsmCommandConfig &value)
AWS_MGN_API UpdateConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConnectorResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateConnectorResult & AddTags(Aws::String &&key, const char *value)
UpdateConnectorResult & WithSsmInstanceID(Aws::String &&value)
UpdateConnectorResult & WithConnectorID(Aws::String &&value)
UpdateConnectorResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateConnectorResult & WithRequestId(const char *value)
void SetSsmInstanceID(const Aws::String &value)
UpdateConnectorResult & WithSsmInstanceID(const char *value)
UpdateConnectorResult & WithRequestId(Aws::String &&value)
void SetConnectorID(const Aws::String &value)
UpdateConnectorResult & AddTags(const char *key, Aws::String &&value)
UpdateConnectorResult & WithConnectorID(const Aws::String &value)
const ConnectorSsmCommandConfig & GetSsmCommandConfig() const
UpdateConnectorResult & AddTags(const char *key, const char *value)
UpdateConnectorResult & WithName(const char *value)
UpdateConnectorResult & WithArn(Aws::String &&value)
void SetName(const Aws::String &value)
UpdateConnectorResult & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetSsmInstanceID() const
UpdateConnectorResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSsmCommandConfig(ConnectorSsmCommandConfig &&value)
UpdateConnectorResult & WithName(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MGN_API UpdateConnectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConnectorResult & WithArn(const char *value)
UpdateConnectorResult & WithSsmInstanceID(const Aws::String &value)
UpdateConnectorResult & WithName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&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