AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetConnectorDefinitionResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Greengrass
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GREENGRASS_API GetConnectorDefinitionResult() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 GetConnectorDefinitionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
52 template<typename CreationTimestampT = Aws::String>
53 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
54 template<typename CreationTimestampT = Aws::String>
55 GetConnectorDefinitionResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
57
59
62 inline const Aws::String& GetId() const { return m_id; }
63 template<typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
65 template<typename IdT = Aws::String>
66 GetConnectorDefinitionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
74 template<typename LastUpdatedTimestampT = Aws::String>
75 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
76 template<typename LastUpdatedTimestampT = Aws::String>
77 GetConnectorDefinitionResult& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value)); return *this;}
79
81
84 inline const Aws::String& GetLatestVersion() const { return m_latestVersion; }
85 template<typename LatestVersionT = Aws::String>
86 void SetLatestVersion(LatestVersionT&& value) { m_latestVersionHasBeenSet = true; m_latestVersion = std::forward<LatestVersionT>(value); }
87 template<typename LatestVersionT = Aws::String>
88 GetConnectorDefinitionResult& WithLatestVersion(LatestVersionT&& value) { SetLatestVersion(std::forward<LatestVersionT>(value)); return *this;}
90
92
95 inline const Aws::String& GetLatestVersionArn() const { return m_latestVersionArn; }
96 template<typename LatestVersionArnT = Aws::String>
97 void SetLatestVersionArn(LatestVersionArnT&& value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn = std::forward<LatestVersionArnT>(value); }
98 template<typename LatestVersionArnT = Aws::String>
99 GetConnectorDefinitionResult& WithLatestVersionArn(LatestVersionArnT&& value) { SetLatestVersionArn(std::forward<LatestVersionArnT>(value)); return *this;}
101
103
106 inline const Aws::String& GetName() const { return m_name; }
107 template<typename NameT = Aws::String>
108 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
109 template<typename NameT = Aws::String>
110 GetConnectorDefinitionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
112
114
117 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
118 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
120 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 GetConnectorDefinitionResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
122 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
123 GetConnectorDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
124 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
125 }
127
129
130 inline const Aws::String& GetRequestId() const { return m_requestId; }
131 template<typename RequestIdT = Aws::String>
132 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
133 template<typename RequestIdT = Aws::String>
134 GetConnectorDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
136 private:
137
138 Aws::String m_arn;
139 bool m_arnHasBeenSet = false;
140
141 Aws::String m_creationTimestamp;
142 bool m_creationTimestampHasBeenSet = false;
143
144 Aws::String m_id;
145 bool m_idHasBeenSet = false;
146
147 Aws::String m_lastUpdatedTimestamp;
148 bool m_lastUpdatedTimestampHasBeenSet = false;
149
150 Aws::String m_latestVersion;
151 bool m_latestVersionHasBeenSet = false;
152
153 Aws::String m_latestVersionArn;
154 bool m_latestVersionArnHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
160 bool m_tagsHasBeenSet = false;
161
162 Aws::String m_requestId;
163 bool m_requestIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace Greengrass
168} // namespace Aws
GetConnectorDefinitionResult & WithTags(TagsT &&value)
GetConnectorDefinitionResult & WithCreationTimestamp(CreationTimestampT &&value)
GetConnectorDefinitionResult & WithLatestVersionArn(LatestVersionArnT &&value)
GetConnectorDefinitionResult & WithArn(ArnT &&value)
AWS_GREENGRASS_API GetConnectorDefinitionResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetConnectorDefinitionResult & WithLatestVersion(LatestVersionT &&value)
AWS_GREENGRASS_API GetConnectorDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GREENGRASS_API GetConnectorDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectorDefinitionResult & WithRequestId(RequestIdT &&value)
GetConnectorDefinitionResult & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
GetConnectorDefinitionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetConnectorDefinitionResult & WithName(NameT &&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