AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateRobotApplicationResult.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/robomaker/model/RobotSoftwareSuite.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/robomaker/model/Environment.h>
14#include <aws/robomaker/model/Source.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace RoboMaker
30{
31namespace Model
32{
34 {
35 public:
36 AWS_ROBOMAKER_API CreateRobotApplicationResult() = default;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 CreateRobotApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 CreateRobotApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetVersion() const { return m_version; }
68 template<typename VersionT = Aws::String>
69 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
70 template<typename VersionT = Aws::String>
71 CreateRobotApplicationResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
73
75
78 inline const Aws::Vector<Source>& GetSources() const { return m_sources; }
79 template<typename SourcesT = Aws::Vector<Source>>
80 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
81 template<typename SourcesT = Aws::Vector<Source>>
82 CreateRobotApplicationResult& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
83 template<typename SourcesT = Source>
84 CreateRobotApplicationResult& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
86
88
91 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; }
92 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
93 void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::forward<RobotSoftwareSuiteT>(value); }
94 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
95 CreateRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { SetRobotSoftwareSuite(std::forward<RobotSoftwareSuiteT>(value)); return *this;}
97
99
103 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
104 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
105 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
106 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
107 CreateRobotApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
109
111
114 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
115 template<typename RevisionIdT = Aws::String>
116 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
117 template<typename RevisionIdT = Aws::String>
118 CreateRobotApplicationResult& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
120
122
125 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
126 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
128 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 CreateRobotApplicationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
130 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
131 CreateRobotApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
132 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
133 }
135
137
141 inline const Environment& GetEnvironment() const { return m_environment; }
142 template<typename EnvironmentT = Environment>
143 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
144 template<typename EnvironmentT = Environment>
145 CreateRobotApplicationResult& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
147
149
150 inline const Aws::String& GetRequestId() const { return m_requestId; }
151 template<typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
153 template<typename RequestIdT = Aws::String>
154 CreateRobotApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
156 private:
157
158 Aws::String m_arn;
159 bool m_arnHasBeenSet = false;
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
164 Aws::String m_version;
165 bool m_versionHasBeenSet = false;
166
167 Aws::Vector<Source> m_sources;
168 bool m_sourcesHasBeenSet = false;
169
170 RobotSoftwareSuite m_robotSoftwareSuite;
171 bool m_robotSoftwareSuiteHasBeenSet = false;
172
173 Aws::Utils::DateTime m_lastUpdatedAt{};
174 bool m_lastUpdatedAtHasBeenSet = false;
175
176 Aws::String m_revisionId;
177 bool m_revisionIdHasBeenSet = false;
178
180 bool m_tagsHasBeenSet = false;
181
182 Environment m_environment;
183 bool m_environmentHasBeenSet = false;
184
185 Aws::String m_requestId;
186 bool m_requestIdHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace RoboMaker
191} // namespace Aws
CreateRobotApplicationResult & WithTags(TagsT &&value)
AWS_ROBOMAKER_API CreateRobotApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRobotApplicationResult & WithArn(ArnT &&value)
CreateRobotApplicationResult & WithSources(SourcesT &&value)
CreateRobotApplicationResult & WithName(NameT &&value)
CreateRobotApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
CreateRobotApplicationResult & WithRequestId(RequestIdT &&value)
CreateRobotApplicationResult & AddSources(SourcesT &&value)
CreateRobotApplicationResult & WithRevisionId(RevisionIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRobotApplicationResult & WithVersion(VersionT &&value)
CreateRobotApplicationResult & WithRobotSoftwareSuite(RobotSoftwareSuiteT &&value)
AWS_ROBOMAKER_API CreateRobotApplicationResult()=default
CreateRobotApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_ROBOMAKER_API CreateRobotApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRobotApplicationResult & WithEnvironment(EnvironmentT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue