AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PartnerAppConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 PartnerAppConfig() = default;
38 AWS_SAGEMAKER_API PartnerAppConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetAdminUsers() const { return m_adminUsers; }
49 inline bool AdminUsersHasBeenSet() const { return m_adminUsersHasBeenSet; }
50 template<typename AdminUsersT = Aws::Vector<Aws::String>>
51 void SetAdminUsers(AdminUsersT&& value) { m_adminUsersHasBeenSet = true; m_adminUsers = std::forward<AdminUsersT>(value); }
52 template<typename AdminUsersT = Aws::Vector<Aws::String>>
53 PartnerAppConfig& WithAdminUsers(AdminUsersT&& value) { SetAdminUsers(std::forward<AdminUsersT>(value)); return *this;}
54 template<typename AdminUsersT = Aws::String>
55 PartnerAppConfig& AddAdminUsers(AdminUsersT&& value) { m_adminUsersHasBeenSet = true; m_adminUsers.emplace_back(std::forward<AdminUsersT>(value)); return *this; }
57
59
64 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const { return m_arguments; }
65 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
66 template<typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
67 void SetArguments(ArgumentsT&& value) { m_argumentsHasBeenSet = true; m_arguments = std::forward<ArgumentsT>(value); }
68 template<typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
69 PartnerAppConfig& WithArguments(ArgumentsT&& value) { SetArguments(std::forward<ArgumentsT>(value)); return *this;}
70 template<typename ArgumentsKeyT = Aws::String, typename ArgumentsValueT = Aws::String>
71 PartnerAppConfig& AddArguments(ArgumentsKeyT&& key, ArgumentsValueT&& value) {
72 m_argumentsHasBeenSet = true; m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value)); return *this;
73 }
75 private:
76
77 Aws::Vector<Aws::String> m_adminUsers;
78 bool m_adminUsersHasBeenSet = false;
79
81 bool m_argumentsHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SageMaker
86} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API PartnerAppConfig(Aws::Utils::Json::JsonView jsonValue)
void SetAdminUsers(AdminUsersT &&value)
AWS_SAGEMAKER_API PartnerAppConfig()=default
PartnerAppConfig & AddArguments(ArgumentsKeyT &&key, ArgumentsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
PartnerAppConfig & WithArguments(ArgumentsT &&value)
PartnerAppConfig & AddAdminUsers(AdminUsersT &&value)
const Aws::Vector< Aws::String > & GetAdminUsers() const
AWS_SAGEMAKER_API PartnerAppConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
PartnerAppConfig & WithAdminUsers(AdminUsersT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue