AWS SDK for C++  1.9.40
AWS SDK for C++
CreateEndpointRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SageMaker
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateEndpoint"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
44  inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
45 
51  inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
52 
58  inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
59 
65  inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
66 
72  inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
73 
79  inline CreateEndpointRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
80 
86  inline CreateEndpointRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
87 
93  inline CreateEndpointRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
94 
95 
100  inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
101 
106  inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
107 
112  inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
113 
118  inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
119 
124  inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
125 
130  inline CreateEndpointRequest& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;}
131 
136  inline CreateEndpointRequest& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
137 
142  inline CreateEndpointRequest& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
143 
144 
152  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
153 
161  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
162 
170  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
171 
179  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
180 
188  inline CreateEndpointRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
189 
197  inline CreateEndpointRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
198 
206  inline CreateEndpointRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
207 
215  inline CreateEndpointRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
216 
217  private:
218 
219  Aws::String m_endpointName;
220  bool m_endpointNameHasBeenSet;
221 
222  Aws::String m_endpointConfigName;
223  bool m_endpointConfigNameHasBeenSet;
224 
225  Aws::Vector<Tag> m_tags;
226  bool m_tagsHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace SageMaker
231 } // namespace Aws
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointName
CreateEndpointRequest & WithEndpointName(const Aws::String &value)
Definition: CreateEndpointRequest.h:79
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateEndpointRequest::WithTags
CreateEndpointRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateEndpointRequest.h:188
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateEndpointRequest::AddTags
CreateEndpointRequest & AddTags(Tag &&value)
Definition: CreateEndpointRequest.h:215
Aws::SageMaker::Model::CreateEndpointRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateEndpointRequest.h:179
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointName
CreateEndpointRequest & WithEndpointName(const char *value)
Definition: CreateEndpointRequest.h:93
Aws::SageMaker::Model::CreateEndpointRequest::EndpointConfigNameHasBeenSet
bool EndpointConfigNameHasBeenSet() const
Definition: CreateEndpointRequest.h:106
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateEndpointRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateEndpointRequest.h:152
AWSVector.h
Aws::SageMaker::Model::CreateEndpointRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateEndpointRequest.h:170
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(const Aws::String &value)
Definition: CreateEndpointRequest.h:112
Aws::SageMaker::Model::CreateEndpointRequest::GetEndpointName
const Aws::String & GetEndpointName() const
Definition: CreateEndpointRequest.h:44
Aws::SageMaker::Model::CreateEndpointRequest::AddTags
CreateEndpointRequest & AddTags(const Tag &value)
Definition: CreateEndpointRequest.h:206
Aws::SageMaker::Model::CreateEndpointRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointConfigName
CreateEndpointRequest & WithEndpointConfigName(const Aws::String &value)
Definition: CreateEndpointRequest.h:130
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointConfigName
CreateEndpointRequest & WithEndpointConfigName(Aws::String &&value)
Definition: CreateEndpointRequest.h:136
Aws::SageMaker::Model::CreateEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointConfigName
CreateEndpointRequest & WithEndpointConfigName(const char *value)
Definition: CreateEndpointRequest.h:142
Aws::SageMaker::Model::CreateEndpointRequest::EndpointNameHasBeenSet
bool EndpointNameHasBeenSet() const
Definition: CreateEndpointRequest.h:51
Aws::SageMaker::Model::CreateEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateEndpointRequest.h:32
AWSString.h
Tag.h
Aws::SageMaker::Model::CreateEndpointRequest::WithTags
CreateEndpointRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateEndpointRequest.h:197
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointName
void SetEndpointName(Aws::String &&value)
Definition: CreateEndpointRequest.h:65
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointName
void SetEndpointName(const Aws::String &value)
Definition: CreateEndpointRequest.h:58
Aws::SageMaker::Model::CreateEndpointRequest::WithEndpointName
CreateEndpointRequest & WithEndpointName(Aws::String &&value)
Definition: CreateEndpointRequest.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateEndpointRequest::CreateEndpointRequest
CreateEndpointRequest()
SageMakerRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointName
void SetEndpointName(const char *value)
Definition: CreateEndpointRequest.h:72
Aws::SageMaker::Model::CreateEndpointRequest
Definition: CreateEndpointRequest.h:24
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(Aws::String &&value)
Definition: CreateEndpointRequest.h:118
Aws::SageMaker::Model::CreateEndpointRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateEndpointRequest.h:161
Aws::SageMaker::Model::CreateEndpointRequest::SetEndpointConfigName
void SetEndpointConfigName(const char *value)
Definition: CreateEndpointRequest.h:124
Aws::SageMaker::Model::CreateEndpointRequest::GetEndpointConfigName
const Aws::String & GetEndpointConfigName() const
Definition: CreateEndpointRequest.h:100