AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
49 inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
50 inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
51 inline AppSpecification& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
52 inline AppSpecification& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
53 inline AppSpecification& WithImageUri(const char* value) { SetImageUri(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetContainerEntrypoint() const{ return m_containerEntrypoint; }
61 inline bool ContainerEntrypointHasBeenSet() const { return m_containerEntrypointHasBeenSet; }
62 inline void SetContainerEntrypoint(const Aws::Vector<Aws::String>& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = value; }
63 inline void SetContainerEntrypoint(Aws::Vector<Aws::String>&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = std::move(value); }
66 inline AppSpecification& AddContainerEntrypoint(const Aws::String& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; }
67 inline AppSpecification& AddContainerEntrypoint(Aws::String&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(std::move(value)); return *this; }
68 inline AppSpecification& AddContainerEntrypoint(const char* value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; }
70
72
75 inline const Aws::Vector<Aws::String>& GetContainerArguments() const{ return m_containerArguments; }
76 inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; }
77 inline void SetContainerArguments(const Aws::Vector<Aws::String>& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = value; }
78 inline void SetContainerArguments(Aws::Vector<Aws::String>&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = std::move(value); }
81 inline AppSpecification& AddContainerArguments(const Aws::String& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; }
82 inline AppSpecification& AddContainerArguments(Aws::String&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(std::move(value)); return *this; }
83 inline AppSpecification& AddContainerArguments(const char* value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; }
85 private:
86
87 Aws::String m_imageUri;
88 bool m_imageUriHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_containerEntrypoint;
91 bool m_containerEntrypointHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_containerArguments;
94 bool m_containerArgumentsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SageMaker
99} // namespace Aws
AppSpecification & AddContainerEntrypoint(const Aws::String &value)
AppSpecification & WithContainerEntrypoint(const Aws::Vector< Aws::String > &value)
AppSpecification & AddContainerEntrypoint(const char *value)
AppSpecification & WithImageUri(const char *value)
const Aws::Vector< Aws::String > & GetContainerEntrypoint() const
void SetContainerArguments(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API AppSpecification(Aws::Utils::Json::JsonView jsonValue)
AppSpecification & AddContainerEntrypoint(Aws::String &&value)
AppSpecification & AddContainerArguments(const Aws::String &value)
AppSpecification & WithImageUri(const Aws::String &value)
const Aws::Vector< Aws::String > & GetContainerArguments() const
void SetContainerArguments(Aws::Vector< Aws::String > &&value)
void SetContainerEntrypoint(const Aws::Vector< Aws::String > &value)
AppSpecification & AddContainerArguments(Aws::String &&value)
AWS_SAGEMAKER_API AppSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AppSpecification & WithContainerEntrypoint(Aws::Vector< Aws::String > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AppSpecification & WithContainerArguments(const Aws::Vector< Aws::String > &value)
AppSpecification & WithContainerArguments(Aws::Vector< Aws::String > &&value)
AppSpecification & WithImageUri(Aws::String &&value)
const Aws::String & GetImageUri() const
AppSpecification & AddContainerArguments(const char *value)
void SetImageUri(const Aws::String &value)
void SetContainerEntrypoint(Aws::Vector< 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