AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRobotApplicationResult.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 UpdateRobotApplicationResult();
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 UpdateRobotApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline UpdateRobotApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline UpdateRobotApplicationResult& 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 UpdateRobotApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline UpdateRobotApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline UpdateRobotApplicationResult& 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 UpdateRobotApplicationResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
75 inline UpdateRobotApplicationResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
76 inline UpdateRobotApplicationResult& 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); }
86 inline UpdateRobotApplicationResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
87 inline UpdateRobotApplicationResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
88 inline UpdateRobotApplicationResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
89 inline UpdateRobotApplicationResult& 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); }
112 inline UpdateRobotApplicationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
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); }
123 inline UpdateRobotApplicationResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
124 inline UpdateRobotApplicationResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
125 inline UpdateRobotApplicationResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
127
129
132 inline const Environment& GetEnvironment() const{ return m_environment; }
133 inline void SetEnvironment(const Environment& value) { m_environment = value; }
134 inline void SetEnvironment(Environment&& value) { m_environment = std::move(value); }
135 inline UpdateRobotApplicationResult& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;}
136 inline UpdateRobotApplicationResult& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
138
140
141 inline const Aws::String& GetRequestId() const{ return m_requestId; }
142 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
143 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
144 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
145 inline UpdateRobotApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
146 inline UpdateRobotApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
147 inline UpdateRobotApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
149 private:
150
151 Aws::String m_arn;
152
153 Aws::String m_name;
154
155 Aws::String m_version;
156
157 Aws::Vector<Source> m_sources;
158
159 RobotSoftwareSuite m_robotSoftwareSuite;
160
161 Aws::Utils::DateTime m_lastUpdatedAt;
162
163 Aws::String m_revisionId;
164
165 Environment m_environment;
166
167 Aws::String m_requestId;
168 };
169
170} // namespace Model
171} // namespace RoboMaker
172} // namespace Aws
UpdateRobotApplicationResult & WithRequestId(const char *value)
UpdateRobotApplicationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
UpdateRobotApplicationResult & WithRequestId(Aws::String &&value)
UpdateRobotApplicationResult & WithArn(const char *value)
UpdateRobotApplicationResult & AddSources(const Source &value)
UpdateRobotApplicationResult & WithName(Aws::String &&value)
UpdateRobotApplicationResult & WithRevisionId(const Aws::String &value)
UpdateRobotApplicationResult & WithSources(const Aws::Vector< Source > &value)
UpdateRobotApplicationResult & WithSources(Aws::Vector< Source > &&value)
UpdateRobotApplicationResult & WithEnvironment(const Environment &value)
AWS_ROBOMAKER_API UpdateRobotApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRobotApplicationResult & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
AWS_ROBOMAKER_API UpdateRobotApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRobotApplicationResult & WithName(const Aws::String &value)
UpdateRobotApplicationResult & WithVersion(const char *value)
UpdateRobotApplicationResult & WithEnvironment(Environment &&value)
UpdateRobotApplicationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
UpdateRobotApplicationResult & WithArn(Aws::String &&value)
UpdateRobotApplicationResult & WithRequestId(const Aws::String &value)
UpdateRobotApplicationResult & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
UpdateRobotApplicationResult & WithVersion(Aws::String &&value)
UpdateRobotApplicationResult & WithName(const char *value)
UpdateRobotApplicationResult & WithArn(const Aws::String &value)
UpdateRobotApplicationResult & AddSources(Source &&value)
UpdateRobotApplicationResult & WithRevisionId(const char *value)
UpdateRobotApplicationResult & WithRevisionId(Aws::String &&value)
UpdateRobotApplicationResult & 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