AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_ROBOMAKER_API CreateRobotApplicationVersionResult() = default;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 CreateRobotApplicationVersionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 CreateRobotApplicationVersionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetVersion() const { return m_version; }
67 template<typename VersionT = Aws::String>
68 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
69 template<typename VersionT = Aws::String>
70 CreateRobotApplicationVersionResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
72
74
77 inline const Aws::Vector<Source>& GetSources() const { return m_sources; }
78 template<typename SourcesT = Aws::Vector<Source>>
79 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
80 template<typename SourcesT = Aws::Vector<Source>>
81 CreateRobotApplicationVersionResult& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
82 template<typename SourcesT = Source>
83 CreateRobotApplicationVersionResult& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
85
87
90 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; }
91 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
92 void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::forward<RobotSoftwareSuiteT>(value); }
93 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
94 CreateRobotApplicationVersionResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { SetRobotSoftwareSuite(std::forward<RobotSoftwareSuiteT>(value)); return *this;}
96
98
102 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
103 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
104 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
105 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
106 CreateRobotApplicationVersionResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
108
110
113 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
114 template<typename RevisionIdT = Aws::String>
115 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
116 template<typename RevisionIdT = Aws::String>
117 CreateRobotApplicationVersionResult& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
119
121
125 inline const Environment& GetEnvironment() const { return m_environment; }
126 template<typename EnvironmentT = Environment>
127 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
128 template<typename EnvironmentT = Environment>
129 CreateRobotApplicationVersionResult& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 CreateRobotApplicationVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_version;
149 bool m_versionHasBeenSet = false;
150
151 Aws::Vector<Source> m_sources;
152 bool m_sourcesHasBeenSet = false;
153
154 RobotSoftwareSuite m_robotSoftwareSuite;
155 bool m_robotSoftwareSuiteHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastUpdatedAt{};
158 bool m_lastUpdatedAtHasBeenSet = false;
159
160 Aws::String m_revisionId;
161 bool m_revisionIdHasBeenSet = false;
162
163 Environment m_environment;
164 bool m_environmentHasBeenSet = false;
165
166 Aws::String m_requestId;
167 bool m_requestIdHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace RoboMaker
172} // namespace Aws
CreateRobotApplicationVersionResult & WithRequestId(RequestIdT &&value)
CreateRobotApplicationVersionResult & WithName(NameT &&value)
CreateRobotApplicationVersionResult & WithEnvironment(EnvironmentT &&value)
CreateRobotApplicationVersionResult & WithSources(SourcesT &&value)
AWS_ROBOMAKER_API CreateRobotApplicationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROBOMAKER_API CreateRobotApplicationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRobotApplicationVersionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
CreateRobotApplicationVersionResult & WithVersion(VersionT &&value)
CreateRobotApplicationVersionResult & WithRobotSoftwareSuite(RobotSoftwareSuiteT &&value)
CreateRobotApplicationVersionResult & WithRevisionId(RevisionIdT &&value)
CreateRobotApplicationVersionResult & AddSources(SourcesT &&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