AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRobotApplicationVersionResult.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/robomaker/model/Environment.h>
13#include <aws/robomaker/model/Source.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace RoboMaker
29{
30namespace Model
31{
33 {
34 public:
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline CreateRobotApplicationVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline CreateRobotApplicationVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline CreateRobotApplicationVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline void SetName(const Aws::String& value) { m_name = value; }
59 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
60 inline void SetName(const char* value) { m_name.assign(value); }
61 inline CreateRobotApplicationVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateRobotApplicationVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateRobotApplicationVersionResult& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetVersion() const{ return m_version; }
71 inline void SetVersion(const Aws::String& value) { m_version = value; }
72 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
73 inline void SetVersion(const char* value) { m_version.assign(value); }
74 inline CreateRobotApplicationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
75 inline CreateRobotApplicationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
76 inline CreateRobotApplicationVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
78
80
83 inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
84 inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
85 inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
87 inline CreateRobotApplicationVersionResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
88 inline CreateRobotApplicationVersionResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
89 inline CreateRobotApplicationVersionResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
91
93
96 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
97 inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuite = value; }
98 inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuite = std::move(value); }
102
104
108 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
109 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
110 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
114
116
119 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
120 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
121 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
122 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
124 inline CreateRobotApplicationVersionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
125 inline CreateRobotApplicationVersionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
127
129
133 inline const Environment& GetEnvironment() const{ return m_environment; }
134 inline void SetEnvironment(const Environment& value) { m_environment = value; }
135 inline void SetEnvironment(Environment&& value) { m_environment = std::move(value); }
137 inline CreateRobotApplicationVersionResult& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline CreateRobotApplicationVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline CreateRobotApplicationVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline CreateRobotApplicationVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_arn;
153
154 Aws::String m_name;
155
156 Aws::String m_version;
157
158 Aws::Vector<Source> m_sources;
159
160 RobotSoftwareSuite m_robotSoftwareSuite;
161
162 Aws::Utils::DateTime m_lastUpdatedAt;
163
164 Aws::String m_revisionId;
165
166 Environment m_environment;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace RoboMaker
173} // namespace Aws
CreateRobotApplicationVersionResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
CreateRobotApplicationVersionResult & WithArn(const Aws::String &value)
CreateRobotApplicationVersionResult & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
CreateRobotApplicationVersionResult & WithArn(const char *value)
CreateRobotApplicationVersionResult & WithName(Aws::String &&value)
CreateRobotApplicationVersionResult & WithName(const char *value)
CreateRobotApplicationVersionResult & WithSources(const Aws::Vector< Source > &value)
CreateRobotApplicationVersionResult & WithRevisionId(const char *value)
CreateRobotApplicationVersionResult & WithName(const Aws::String &value)
CreateRobotApplicationVersionResult & AddSources(const Source &value)
CreateRobotApplicationVersionResult & WithVersion(Aws::String &&value)
CreateRobotApplicationVersionResult & WithEnvironment(const Environment &value)
CreateRobotApplicationVersionResult & WithVersion(const char *value)
AWS_ROBOMAKER_API CreateRobotApplicationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRobotApplicationVersionResult & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
CreateRobotApplicationVersionResult & WithRequestId(const char *value)
AWS_ROBOMAKER_API CreateRobotApplicationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRobotApplicationVersionResult & AddSources(Source &&value)
CreateRobotApplicationVersionResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
CreateRobotApplicationVersionResult & WithSources(Aws::Vector< Source > &&value)
CreateRobotApplicationVersionResult & WithRequestId(const Aws::String &value)
CreateRobotApplicationVersionResult & WithEnvironment(Environment &&value)
CreateRobotApplicationVersionResult & WithRequestId(Aws::String &&value)
CreateRobotApplicationVersionResult & WithRevisionId(const Aws::String &value)
CreateRobotApplicationVersionResult & WithRevisionId(Aws::String &&value)
CreateRobotApplicationVersionResult & WithArn(Aws::String &&value)
CreateRobotApplicationVersionResult & WithVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue