AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AppSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API AppSpecification() = default;
32 AWS_SAGEMAKER_API AppSpecification(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetImageUri() const { return m_imageUri; }
41 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
42 template <typename ImageUriT = Aws::String>
43 void SetImageUri(ImageUriT&& value) {
44 m_imageUriHasBeenSet = true;
45 m_imageUri = std::forward<ImageUriT>(value);
46 }
47 template <typename ImageUriT = Aws::String>
48 AppSpecification& WithImageUri(ImageUriT&& value) {
49 SetImageUri(std::forward<ImageUriT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetContainerEntrypoint() const { return m_containerEntrypoint; }
59 inline bool ContainerEntrypointHasBeenSet() const { return m_containerEntrypointHasBeenSet; }
60 template <typename ContainerEntrypointT = Aws::Vector<Aws::String>>
61 void SetContainerEntrypoint(ContainerEntrypointT&& value) {
62 m_containerEntrypointHasBeenSet = true;
63 m_containerEntrypoint = std::forward<ContainerEntrypointT>(value);
64 }
65 template <typename ContainerEntrypointT = Aws::Vector<Aws::String>>
66 AppSpecification& WithContainerEntrypoint(ContainerEntrypointT&& value) {
67 SetContainerEntrypoint(std::forward<ContainerEntrypointT>(value));
68 return *this;
69 }
70 template <typename ContainerEntrypointT = Aws::String>
71 AppSpecification& AddContainerEntrypoint(ContainerEntrypointT&& value) {
72 m_containerEntrypointHasBeenSet = true;
73 m_containerEntrypoint.emplace_back(std::forward<ContainerEntrypointT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::Vector<Aws::String>& GetContainerArguments() const { return m_containerArguments; }
83 inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; }
84 template <typename ContainerArgumentsT = Aws::Vector<Aws::String>>
85 void SetContainerArguments(ContainerArgumentsT&& value) {
86 m_containerArgumentsHasBeenSet = true;
87 m_containerArguments = std::forward<ContainerArgumentsT>(value);
88 }
89 template <typename ContainerArgumentsT = Aws::Vector<Aws::String>>
90 AppSpecification& WithContainerArguments(ContainerArgumentsT&& value) {
91 SetContainerArguments(std::forward<ContainerArgumentsT>(value));
92 return *this;
93 }
94 template <typename ContainerArgumentsT = Aws::String>
95 AppSpecification& AddContainerArguments(ContainerArgumentsT&& value) {
96 m_containerArgumentsHasBeenSet = true;
97 m_containerArguments.emplace_back(std::forward<ContainerArgumentsT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_imageUri;
103
104 Aws::Vector<Aws::String> m_containerEntrypoint;
105
106 Aws::Vector<Aws::String> m_containerArguments;
107 bool m_imageUriHasBeenSet = false;
108 bool m_containerEntrypointHasBeenSet = false;
109 bool m_containerArgumentsHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace SageMaker
114} // namespace Aws
AppSpecification & AddContainerArguments(ContainerArgumentsT &&value)
const Aws::Vector< Aws::String > & GetContainerEntrypoint() const
AWS_SAGEMAKER_API AppSpecification(Aws::Utils::Json::JsonView jsonValue)
AppSpecification & WithContainerEntrypoint(ContainerEntrypointT &&value)
void SetContainerEntrypoint(ContainerEntrypointT &&value)
const Aws::Vector< Aws::String > & GetContainerArguments() const
AppSpecification & WithContainerArguments(ContainerArgumentsT &&value)
AWS_SAGEMAKER_API AppSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContainerArguments(ContainerArgumentsT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AppSpecification()=default
AppSpecification & WithImageUri(ImageUriT &&value)
AppSpecification & AddContainerEntrypoint(ContainerEntrypointT &&value)
const Aws::String & GetImageUri() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue