AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DockerSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/FeatureStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API DockerSettings();
38 AWS_SAGEMAKER_API DockerSettings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const FeatureStatus& GetEnableDockerAccess() const{ return m_enableDockerAccess; }
48 inline bool EnableDockerAccessHasBeenSet() const { return m_enableDockerAccessHasBeenSet; }
49 inline void SetEnableDockerAccess(const FeatureStatus& value) { m_enableDockerAccessHasBeenSet = true; m_enableDockerAccess = value; }
50 inline void SetEnableDockerAccess(FeatureStatus&& value) { m_enableDockerAccessHasBeenSet = true; m_enableDockerAccess = std::move(value); }
51 inline DockerSettings& WithEnableDockerAccess(const FeatureStatus& value) { SetEnableDockerAccess(value); return *this;}
52 inline DockerSettings& WithEnableDockerAccess(FeatureStatus&& value) { SetEnableDockerAccess(std::move(value)); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetVpcOnlyTrustedAccounts() const{ return m_vpcOnlyTrustedAccounts; }
61 inline bool VpcOnlyTrustedAccountsHasBeenSet() const { return m_vpcOnlyTrustedAccountsHasBeenSet; }
62 inline void SetVpcOnlyTrustedAccounts(const Aws::Vector<Aws::String>& value) { m_vpcOnlyTrustedAccountsHasBeenSet = true; m_vpcOnlyTrustedAccounts = value; }
63 inline void SetVpcOnlyTrustedAccounts(Aws::Vector<Aws::String>&& value) { m_vpcOnlyTrustedAccountsHasBeenSet = true; m_vpcOnlyTrustedAccounts = std::move(value); }
66 inline DockerSettings& AddVpcOnlyTrustedAccounts(const Aws::String& value) { m_vpcOnlyTrustedAccountsHasBeenSet = true; m_vpcOnlyTrustedAccounts.push_back(value); return *this; }
67 inline DockerSettings& AddVpcOnlyTrustedAccounts(Aws::String&& value) { m_vpcOnlyTrustedAccountsHasBeenSet = true; m_vpcOnlyTrustedAccounts.push_back(std::move(value)); return *this; }
68 inline DockerSettings& AddVpcOnlyTrustedAccounts(const char* value) { m_vpcOnlyTrustedAccountsHasBeenSet = true; m_vpcOnlyTrustedAccounts.push_back(value); return *this; }
70 private:
71
72 FeatureStatus m_enableDockerAccess;
73 bool m_enableDockerAccessHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_vpcOnlyTrustedAccounts;
76 bool m_vpcOnlyTrustedAccountsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
DockerSettings & AddVpcOnlyTrustedAccounts(const Aws::String &value)
DockerSettings & WithEnableDockerAccess(const FeatureStatus &value)
const FeatureStatus & GetEnableDockerAccess() const
DockerSettings & WithVpcOnlyTrustedAccounts(const Aws::Vector< Aws::String > &value)
DockerSettings & AddVpcOnlyTrustedAccounts(const char *value)
void SetEnableDockerAccess(const FeatureStatus &value)
void SetEnableDockerAccess(FeatureStatus &&value)
DockerSettings & AddVpcOnlyTrustedAccounts(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVpcOnlyTrustedAccounts() const
DockerSettings & WithEnableDockerAccess(FeatureStatus &&value)
DockerSettings & WithVpcOnlyTrustedAccounts(Aws::Vector< Aws::String > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcOnlyTrustedAccounts(Aws::Vector< Aws::String > &&value)
AWS_SAGEMAKER_API DockerSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVpcOnlyTrustedAccounts(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API DockerSettings(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue