AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline void SetArn(const Aws::String& value) { m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arn.assign(value); }
49 inline CreateRobotApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline CreateRobotApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline CreateRobotApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline void SetName(const Aws::String& value) { m_name = value; }
60 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
61 inline void SetName(const char* value) { m_name.assign(value); }
62 inline CreateRobotApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateRobotApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateRobotApplicationResult& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetVersion() const{ return m_version; }
72 inline void SetVersion(const Aws::String& value) { m_version = value; }
73 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
74 inline void SetVersion(const char* value) { m_version.assign(value); }
75 inline CreateRobotApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
76 inline CreateRobotApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
77 inline CreateRobotApplicationResult& WithVersion(const char* value) { SetVersion(value); return *this;}
79
81
84 inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
85 inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
86 inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
87 inline CreateRobotApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
88 inline CreateRobotApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
89 inline CreateRobotApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
90 inline CreateRobotApplicationResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
92
94
97 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
98 inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
99 inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
103
105
109 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
110 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
111 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
113 inline CreateRobotApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
121 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
122 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
123 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
124 inline CreateRobotApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
125 inline CreateRobotApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
126 inline CreateRobotApplicationResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
128
130
133 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
134 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
135 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
137 inline CreateRobotApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
138 inline CreateRobotApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
139 inline CreateRobotApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
140 inline CreateRobotApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
141 inline CreateRobotApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
142 inline CreateRobotApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
143 inline CreateRobotApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
144 inline CreateRobotApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
146
148
152 inline const Environment& GetEnvironment() const{ return m_environment; }
153 inline void SetEnvironment(const Environment& value) { m_environment = value; }
154 inline void SetEnvironment(Environment&& value) { m_environment = std::move(value); }
155 inline CreateRobotApplicationResult& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;}
156 inline CreateRobotApplicationResult& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
158
160
161 inline const Aws::String& GetRequestId() const{ return m_requestId; }
162 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
163 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
164 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
165 inline CreateRobotApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
166 inline CreateRobotApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
167 inline CreateRobotApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
169 private:
170
171 Aws::String m_arn;
172
173 Aws::String m_name;
174
175 Aws::String m_version;
176
177 Aws::Vector<Source> m_sources;
178
179 RobotSoftwareSuite m_robotSoftwareSuite;
180
181 Aws::Utils::DateTime m_lastUpdatedAt;
182
183 Aws::String m_revisionId;
184
186
187 Environment m_environment;
188
189 Aws::String m_requestId;
190 };
191
192} // namespace Model
193} // namespace RoboMaker
194} // namespace Aws
CreateRobotApplicationResult & WithRevisionId(Aws::String &&value)
CreateRobotApplicationResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_ROBOMAKER_API CreateRobotApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRobotApplicationResult & WithName(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRobotApplicationResult & WithName(const char *value)
CreateRobotApplicationResult & WithRevisionId(const Aws::String &value)
CreateRobotApplicationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
CreateRobotApplicationResult & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
CreateRobotApplicationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRobotApplicationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
CreateRobotApplicationResult & WithArn(Aws::String &&value)
CreateRobotApplicationResult & WithVersion(Aws::String &&value)
CreateRobotApplicationResult & WithSources(Aws::Vector< Source > &&value)
CreateRobotApplicationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRobotApplicationResult & WithRequestId(const char *value)
CreateRobotApplicationResult & WithName(const Aws::String &value)
CreateRobotApplicationResult & WithRequestId(Aws::String &&value)
CreateRobotApplicationResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateRobotApplicationResult & WithRequestId(const Aws::String &value)
CreateRobotApplicationResult & WithArn(const Aws::String &value)
CreateRobotApplicationResult & AddTags(const char *key, const char *value)
CreateRobotApplicationResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateRobotApplicationResult & WithEnvironment(Environment &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRobotApplicationResult & WithVersion(const Aws::String &value)
CreateRobotApplicationResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateRobotApplicationResult & WithSources(const Aws::Vector< Source > &value)
CreateRobotApplicationResult & AddSources(const Source &value)
CreateRobotApplicationResult & WithArn(const char *value)
CreateRobotApplicationResult & WithRevisionId(const char *value)
CreateRobotApplicationResult & WithEnvironment(const Environment &value)
CreateRobotApplicationResult & AddTags(Aws::String &&key, const char *value)
CreateRobotApplicationResult & WithVersion(const char *value)
CreateRobotApplicationResult & AddTags(const char *key, Aws::String &&value)
AWS_ROBOMAKER_API CreateRobotApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRobotApplicationResult & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
CreateRobotApplicationResult & AddSources(Source &&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