AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AppSpecification.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API AppSpecification() = default;
37 AWS_SAGEMAKER_API AppSpecification(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetImageUri() const { return m_imageUri; }
47 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
48 template<typename ImageUriT = Aws::String>
49 void SetImageUri(ImageUriT&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::forward<ImageUriT>(value); }
50 template<typename ImageUriT = Aws::String>
51 AppSpecification& WithImageUri(ImageUriT&& value) { SetImageUri(std::forward<ImageUriT>(value)); return *this;}
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) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = std::forward<ContainerEntrypointT>(value); }
62 template<typename ContainerEntrypointT = Aws::Vector<Aws::String>>
63 AppSpecification& WithContainerEntrypoint(ContainerEntrypointT&& value) { SetContainerEntrypoint(std::forward<ContainerEntrypointT>(value)); return *this;}
64 template<typename ContainerEntrypointT = Aws::String>
65 AppSpecification& AddContainerEntrypoint(ContainerEntrypointT&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.emplace_back(std::forward<ContainerEntrypointT>(value)); return *this; }
67
69
72 inline const Aws::Vector<Aws::String>& GetContainerArguments() const { return m_containerArguments; }
73 inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; }
74 template<typename ContainerArgumentsT = Aws::Vector<Aws::String>>
75 void SetContainerArguments(ContainerArgumentsT&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = std::forward<ContainerArgumentsT>(value); }
76 template<typename ContainerArgumentsT = Aws::Vector<Aws::String>>
77 AppSpecification& WithContainerArguments(ContainerArgumentsT&& value) { SetContainerArguments(std::forward<ContainerArgumentsT>(value)); return *this;}
78 template<typename ContainerArgumentsT = Aws::String>
79 AppSpecification& AddContainerArguments(ContainerArgumentsT&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.emplace_back(std::forward<ContainerArgumentsT>(value)); return *this; }
81 private:
82
83 Aws::String m_imageUri;
84 bool m_imageUriHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_containerEntrypoint;
87 bool m_containerEntrypointHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_containerArguments;
90 bool m_containerArgumentsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SageMaker
95} // 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