AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
ClusterAccountingDatabase.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
31 public:
32 AWS_SAGEMAKER_API ClusterAccountingDatabase() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
44 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
45 template <typename EndpointT = Aws::String>
46 void SetEndpoint(EndpointT&& value) {
47 m_endpointHasBeenSet = true;
48 m_endpoint = std::forward<EndpointT>(value);
49 }
50 template <typename EndpointT = Aws::String>
52 SetEndpoint(std::forward<EndpointT>(value));
53 return *this;
54 }
56
58
62 inline int GetPort() const { return m_port; }
63 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
64 inline void SetPort(int value) {
65 m_portHasBeenSet = true;
66 m_port = value;
67 }
69 SetPort(value);
70 return *this;
71 }
73
75
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template <typename NameT = Aws::String>
83 void SetName(NameT&& value) {
84 m_nameHasBeenSet = true;
85 m_name = std::forward<NameT>(value);
86 }
87 template <typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
90 return *this;
91 }
93
95
101 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
102 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
103 template <typename SecretArnT = Aws::String>
104 void SetSecretArn(SecretArnT&& value) {
105 m_secretArnHasBeenSet = true;
106 m_secretArn = std::forward<SecretArnT>(value);
107 }
108 template <typename SecretArnT = Aws::String>
110 SetSecretArn(std::forward<SecretArnT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_endpoint;
116
117 int m_port{0};
118
119 Aws::String m_name;
120
121 Aws::String m_secretArn;
122 bool m_endpointHasBeenSet = false;
123 bool m_portHasBeenSet = false;
124 bool m_nameHasBeenSet = false;
125 bool m_secretArnHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace SageMaker
130} // namespace Aws
ClusterAccountingDatabase & WithName(NameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClusterAccountingDatabase & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterAccountingDatabase & WithEndpoint(EndpointT &&value)
AWS_SAGEMAKER_API ClusterAccountingDatabase()=default
ClusterAccountingDatabase & WithSecretArn(SecretArnT &&value)
AWS_SAGEMAKER_API ClusterAccountingDatabase(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue