AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeRobotApplicationResult.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 DescribeRobotApplicationResult() = 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 DescribeRobotApplicationResult& 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 DescribeRobotApplicationResult& 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 DescribeRobotApplicationResult& 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 DescribeRobotApplicationResult& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
83 template<typename SourcesT = Source>
84 DescribeRobotApplicationResult& 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 DescribeRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { SetRobotSoftwareSuite(std::forward<RobotSoftwareSuiteT>(value)); return *this;}
97
99
102 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
103 template<typename RevisionIdT = Aws::String>
104 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
105 template<typename RevisionIdT = Aws::String>
106 DescribeRobotApplicationResult& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
115 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
116 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
117 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
118 DescribeRobotApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(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 DescribeRobotApplicationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
130 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
131 DescribeRobotApplicationResult& 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 DescribeRobotApplicationResult& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
147
149
153 inline const Aws::String& GetImageDigest() const { return m_imageDigest; }
154 template<typename ImageDigestT = Aws::String>
155 void SetImageDigest(ImageDigestT&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::forward<ImageDigestT>(value); }
156 template<typename ImageDigestT = Aws::String>
157 DescribeRobotApplicationResult& WithImageDigest(ImageDigestT&& value) { SetImageDigest(std::forward<ImageDigestT>(value)); return *this;}
159
161
162 inline const Aws::String& GetRequestId() const { return m_requestId; }
163 template<typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
165 template<typename RequestIdT = Aws::String>
166 DescribeRobotApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
168 private:
169
170 Aws::String m_arn;
171 bool m_arnHasBeenSet = false;
172
173 Aws::String m_name;
174 bool m_nameHasBeenSet = false;
175
176 Aws::String m_version;
177 bool m_versionHasBeenSet = false;
178
179 Aws::Vector<Source> m_sources;
180 bool m_sourcesHasBeenSet = false;
181
182 RobotSoftwareSuite m_robotSoftwareSuite;
183 bool m_robotSoftwareSuiteHasBeenSet = false;
184
185 Aws::String m_revisionId;
186 bool m_revisionIdHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastUpdatedAt{};
189 bool m_lastUpdatedAtHasBeenSet = false;
190
192 bool m_tagsHasBeenSet = false;
193
194 Environment m_environment;
195 bool m_environmentHasBeenSet = false;
196
197 Aws::String m_imageDigest;
198 bool m_imageDigestHasBeenSet = false;
199
200 Aws::String m_requestId;
201 bool m_requestIdHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace RoboMaker
206} // namespace Aws
DescribeRobotApplicationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeRobotApplicationResult & WithVersion(VersionT &&value)
DescribeRobotApplicationResult & WithTags(TagsT &&value)
DescribeRobotApplicationResult & WithEnvironment(EnvironmentT &&value)
DescribeRobotApplicationResult & WithImageDigest(ImageDigestT &&value)
AWS_ROBOMAKER_API DescribeRobotApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRobotApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
DescribeRobotApplicationResult & WithRobotSoftwareSuite(RobotSoftwareSuiteT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeRobotApplicationResult & WithSources(SourcesT &&value)
DescribeRobotApplicationResult & WithRevisionId(RevisionIdT &&value)
AWS_ROBOMAKER_API DescribeRobotApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRobotApplicationResult & AddSources(SourcesT &&value)
DescribeRobotApplicationResult & WithArn(ArnT &&value)
DescribeRobotApplicationResult & WithName(NameT &&value)
DescribeRobotApplicationResult & WithRequestId(RequestIdT &&value)
AWS_ROBOMAKER_API DescribeRobotApplicationResult()=default
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