AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateRobotApplicationVersionRequest.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:
25 AWS_ROBOMAKER_API CreateRobotApplicationVersionRequest() = default;
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 "CreateRobotApplicationVersion"; }
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 template<typename ApplicationT = Aws::String>
43 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet = true; m_application = std::forward<ApplicationT>(value); }
44 template<typename ApplicationT = Aws::String>
45 CreateRobotApplicationVersionRequest& WithApplication(ApplicationT&& value) { SetApplication(std::forward<ApplicationT>(value)); return *this;}
47
49
53 inline const Aws::String& GetCurrentRevisionId() const { return m_currentRevisionId; }
54 inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
55 template<typename CurrentRevisionIdT = Aws::String>
56 void SetCurrentRevisionId(CurrentRevisionIdT&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::forward<CurrentRevisionIdT>(value); }
57 template<typename CurrentRevisionIdT = Aws::String>
58 CreateRobotApplicationVersionRequest& WithCurrentRevisionId(CurrentRevisionIdT&& value) { SetCurrentRevisionId(std::forward<CurrentRevisionIdT>(value)); return *this;}
60
62
66 inline const Aws::Vector<Aws::String>& GetS3Etags() const { return m_s3Etags; }
67 inline bool S3EtagsHasBeenSet() const { return m_s3EtagsHasBeenSet; }
68 template<typename S3EtagsT = Aws::Vector<Aws::String>>
69 void SetS3Etags(S3EtagsT&& value) { m_s3EtagsHasBeenSet = true; m_s3Etags = std::forward<S3EtagsT>(value); }
70 template<typename S3EtagsT = Aws::Vector<Aws::String>>
71 CreateRobotApplicationVersionRequest& WithS3Etags(S3EtagsT&& value) { SetS3Etags(std::forward<S3EtagsT>(value)); return *this;}
72 template<typename S3EtagsT = Aws::String>
73 CreateRobotApplicationVersionRequest& AddS3Etags(S3EtagsT&& value) { m_s3EtagsHasBeenSet = true; m_s3Etags.emplace_back(std::forward<S3EtagsT>(value)); return *this; }
75
77
81 inline const Aws::String& GetImageDigest() const { return m_imageDigest; }
82 inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; }
83 template<typename ImageDigestT = Aws::String>
84 void SetImageDigest(ImageDigestT&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::forward<ImageDigestT>(value); }
85 template<typename ImageDigestT = Aws::String>
86 CreateRobotApplicationVersionRequest& WithImageDigest(ImageDigestT&& value) { SetImageDigest(std::forward<ImageDigestT>(value)); return *this;}
88 private:
89
90 Aws::String m_application;
91 bool m_applicationHasBeenSet = false;
92
93 Aws::String m_currentRevisionId;
94 bool m_currentRevisionIdHasBeenSet = false;
95
97 bool m_s3EtagsHasBeenSet = false;
98
99 Aws::String m_imageDigest;
100 bool m_imageDigestHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace RoboMaker
105} // namespace Aws
CreateRobotApplicationVersionRequest & WithS3Etags(S3EtagsT &&value)
CreateRobotApplicationVersionRequest & WithApplication(ApplicationT &&value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
CreateRobotApplicationVersionRequest & WithCurrentRevisionId(CurrentRevisionIdT &&value)
CreateRobotApplicationVersionRequest & AddS3Etags(S3EtagsT &&value)
CreateRobotApplicationVersionRequest & WithImageDigest(ImageDigestT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector