AWS SDK for C++  1.9.160
AWS SDK for C++
AppSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetImageUri() const{ return m_imageUri; }
46 
50  inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
51 
55  inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
56 
60  inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
61 
65  inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
66 
70  inline AppSpecification& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
71 
75  inline AppSpecification& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
76 
80  inline AppSpecification& WithImageUri(const char* value) { SetImageUri(value); return *this;}
81 
82 
86  inline const Aws::Vector<Aws::String>& GetContainerEntrypoint() const{ return m_containerEntrypoint; }
87 
91  inline bool ContainerEntrypointHasBeenSet() const { return m_containerEntrypointHasBeenSet; }
92 
96  inline void SetContainerEntrypoint(const Aws::Vector<Aws::String>& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = value; }
97 
101  inline void SetContainerEntrypoint(Aws::Vector<Aws::String>&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = std::move(value); }
102 
106  inline AppSpecification& WithContainerEntrypoint(const Aws::Vector<Aws::String>& value) { SetContainerEntrypoint(value); return *this;}
107 
111  inline AppSpecification& WithContainerEntrypoint(Aws::Vector<Aws::String>&& value) { SetContainerEntrypoint(std::move(value)); return *this;}
112 
116  inline AppSpecification& AddContainerEntrypoint(const Aws::String& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; }
117 
121  inline AppSpecification& AddContainerEntrypoint(Aws::String&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(std::move(value)); return *this; }
122 
126  inline AppSpecification& AddContainerEntrypoint(const char* value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; }
127 
128 
132  inline const Aws::Vector<Aws::String>& GetContainerArguments() const{ return m_containerArguments; }
133 
137  inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; }
138 
142  inline void SetContainerArguments(const Aws::Vector<Aws::String>& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = value; }
143 
147  inline void SetContainerArguments(Aws::Vector<Aws::String>&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = std::move(value); }
148 
152  inline AppSpecification& WithContainerArguments(const Aws::Vector<Aws::String>& value) { SetContainerArguments(value); return *this;}
153 
157  inline AppSpecification& WithContainerArguments(Aws::Vector<Aws::String>&& value) { SetContainerArguments(std::move(value)); return *this;}
158 
162  inline AppSpecification& AddContainerArguments(const Aws::String& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; }
163 
167  inline AppSpecification& AddContainerArguments(Aws::String&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(std::move(value)); return *this; }
168 
172  inline AppSpecification& AddContainerArguments(const char* value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; }
173 
174  private:
175 
176  Aws::String m_imageUri;
177  bool m_imageUriHasBeenSet;
178 
179  Aws::Vector<Aws::String> m_containerEntrypoint;
180  bool m_containerEntrypointHasBeenSet;
181 
182  Aws::Vector<Aws::String> m_containerArguments;
183  bool m_containerArgumentsHasBeenSet;
184  };
185 
186 } // namespace Model
187 } // namespace SageMaker
188 } // namespace Aws
Aws::SageMaker::Model::AppSpecification::ContainerEntrypointHasBeenSet
bool ContainerEntrypointHasBeenSet() const
Definition: AppSpecification.h:91
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AppSpecification::SetContainerEntrypoint
void SetContainerEntrypoint(Aws::Vector< Aws::String > &&value)
Definition: AppSpecification.h:101
Aws::SageMaker::Model::AppSpecification::AddContainerArguments
AppSpecification & AddContainerArguments(const char *value)
Definition: AppSpecification.h:172
Aws::SageMaker::Model::AppSpecification::WithContainerEntrypoint
AppSpecification & WithContainerEntrypoint(const Aws::Vector< Aws::String > &value)
Definition: AppSpecification.h:106
Aws::SageMaker::Model::AppSpecification::operator=
AppSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AppSpecification::ImageUriHasBeenSet
bool ImageUriHasBeenSet() const
Definition: AppSpecification.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::AppSpecification::SetImageUri
void SetImageUri(const Aws::String &value)
Definition: AppSpecification.h:55
AWSVector.h
Aws::SageMaker::Model::AppSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AppSpecification::SetContainerArguments
void SetContainerArguments(Aws::Vector< Aws::String > &&value)
Definition: AppSpecification.h:147
Aws::SageMaker::Model::AppSpecification::AppSpecification
AppSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AppSpecification::WithContainerArguments
AppSpecification & WithContainerArguments(Aws::Vector< Aws::String > &&value)
Definition: AppSpecification.h:157
Aws::SageMaker::Model::AppSpecification::GetContainerEntrypoint
const Aws::Vector< Aws::String > & GetContainerEntrypoint() const
Definition: AppSpecification.h:86
Aws::SageMaker::Model::AppSpecification::WithContainerArguments
AppSpecification & WithContainerArguments(const Aws::Vector< Aws::String > &value)
Definition: AppSpecification.h:152
Aws::SageMaker::Model::AppSpecification::AddContainerEntrypoint
AppSpecification & AddContainerEntrypoint(const char *value)
Definition: AppSpecification.h:126
Aws::SageMaker::Model::AppSpecification::GetImageUri
const Aws::String & GetImageUri() const
Definition: AppSpecification.h:45
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::AppSpecification::WithContainerEntrypoint
AppSpecification & WithContainerEntrypoint(Aws::Vector< Aws::String > &&value)
Definition: AppSpecification.h:111
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AppSpecification::SetImageUri
void SetImageUri(const char *value)
Definition: AppSpecification.h:65
Aws::SageMaker::Model::AppSpecification::ContainerArgumentsHasBeenSet
bool ContainerArgumentsHasBeenSet() const
Definition: AppSpecification.h:137
Aws::SageMaker::Model::AppSpecification::SetContainerEntrypoint
void SetContainerEntrypoint(const Aws::Vector< Aws::String > &value)
Definition: AppSpecification.h:96
Aws::SageMaker::Model::AppSpecification
Definition: AppSpecification.h:34
Aws::SageMaker::Model::AppSpecification::WithImageUri
AppSpecification & WithImageUri(Aws::String &&value)
Definition: AppSpecification.h:75
Aws::SageMaker::Model::AppSpecification::GetContainerArguments
const Aws::Vector< Aws::String > & GetContainerArguments() const
Definition: AppSpecification.h:132
Aws::SageMaker::Model::AppSpecification::AddContainerArguments
AppSpecification & AddContainerArguments(const Aws::String &value)
Definition: AppSpecification.h:162
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AppSpecification::WithImageUri
AppSpecification & WithImageUri(const char *value)
Definition: AppSpecification.h:80
Aws::SageMaker::Model::AppSpecification::AddContainerEntrypoint
AppSpecification & AddContainerEntrypoint(const Aws::String &value)
Definition: AppSpecification.h:116
Aws::SageMaker::Model::AppSpecification::AddContainerArguments
AppSpecification & AddContainerArguments(Aws::String &&value)
Definition: AppSpecification.h:167
Aws::SageMaker::Model::AppSpecification::AddContainerEntrypoint
AppSpecification & AddContainerEntrypoint(Aws::String &&value)
Definition: AppSpecification.h:121
Aws::SageMaker::Model::AppSpecification::SetImageUri
void SetImageUri(Aws::String &&value)
Definition: AppSpecification.h:60
Aws::SageMaker::Model::AppSpecification::WithImageUri
AppSpecification & WithImageUri(const Aws::String &value)
Definition: AppSpecification.h:70
Aws::SageMaker::Model::AppSpecification::AppSpecification
AppSpecification()
Aws::SageMaker::Model::AppSpecification::SetContainerArguments
void SetContainerArguments(const Aws::Vector< Aws::String > &value)
Definition: AppSpecification.h:142