AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSimulationApplicationVersionRequest.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/RoboMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace RoboMaker
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateSimulationApplicationVersion"; }
32
33 AWS_ROBOMAKER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplication() const{ return m_application; }
41 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
42 inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
43 inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
44 inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
46 inline CreateSimulationApplicationVersionRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
47 inline CreateSimulationApplicationVersionRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
49
51
55 inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; }
56 inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
57 inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; }
58 inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); }
59 inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); }
64
66
70 inline const Aws::Vector<Aws::String>& GetS3Etags() const{ return m_s3Etags; }
71 inline bool S3EtagsHasBeenSet() const { return m_s3EtagsHasBeenSet; }
72 inline void SetS3Etags(const Aws::Vector<Aws::String>& value) { m_s3EtagsHasBeenSet = true; m_s3Etags = value; }
73 inline void SetS3Etags(Aws::Vector<Aws::String>&& value) { m_s3EtagsHasBeenSet = true; m_s3Etags = std::move(value); }
76 inline CreateSimulationApplicationVersionRequest& AddS3Etags(const Aws::String& value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(value); return *this; }
77 inline CreateSimulationApplicationVersionRequest& AddS3Etags(Aws::String&& value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(std::move(value)); return *this; }
78 inline CreateSimulationApplicationVersionRequest& AddS3Etags(const char* value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(value); return *this; }
80
82
86 inline const Aws::String& GetImageDigest() const{ return m_imageDigest; }
87 inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; }
88 inline void SetImageDigest(const Aws::String& value) { m_imageDigestHasBeenSet = true; m_imageDigest = value; }
89 inline void SetImageDigest(Aws::String&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::move(value); }
90 inline void SetImageDigest(const char* value) { m_imageDigestHasBeenSet = true; m_imageDigest.assign(value); }
92 inline CreateSimulationApplicationVersionRequest& WithImageDigest(Aws::String&& value) { SetImageDigest(std::move(value)); return *this;}
93 inline CreateSimulationApplicationVersionRequest& WithImageDigest(const char* value) { SetImageDigest(value); return *this;}
95 private:
96
97 Aws::String m_application;
98 bool m_applicationHasBeenSet = false;
99
100 Aws::String m_currentRevisionId;
101 bool m_currentRevisionIdHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_s3Etags;
104 bool m_s3EtagsHasBeenSet = false;
105
106 Aws::String m_imageDigest;
107 bool m_imageDigestHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace RoboMaker
112} // namespace Aws
CreateSimulationApplicationVersionRequest & AddS3Etags(const Aws::String &value)
CreateSimulationApplicationVersionRequest & AddS3Etags(Aws::String &&value)
CreateSimulationApplicationVersionRequest & WithApplication(Aws::String &&value)
CreateSimulationApplicationVersionRequest & WithImageDigest(Aws::String &&value)
CreateSimulationApplicationVersionRequest & WithApplication(const Aws::String &value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
CreateSimulationApplicationVersionRequest & WithImageDigest(const char *value)
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(Aws::String &&value)
CreateSimulationApplicationVersionRequest & WithApplication(const char *value)
CreateSimulationApplicationVersionRequest & WithS3Etags(Aws::Vector< Aws::String > &&value)
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(const Aws::String &value)
CreateSimulationApplicationVersionRequest & WithImageDigest(const Aws::String &value)
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(const char *value)
CreateSimulationApplicationVersionRequest & AddS3Etags(const char *value)
CreateSimulationApplicationVersionRequest & WithS3Etags(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector