AWS SDK for C++
1.8.154
AWS SDK for C++
aws-cpp-sdk-sagemaker
include
aws
sagemaker
model
DescribeWorkforceRequest.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/sagemaker/SageMaker_EXPORTS.h
>
8
#include <
aws/sagemaker/SageMakerRequest.h
>
9
#include <
aws/core/utils/memory/stl/AWSString.h
>
10
#include <utility>
11
12
namespace
Aws
13
{
14
namespace
SageMaker
15
{
16
namespace
Model
17
{
18
21
class
AWS_SAGEMAKER_API
DescribeWorkforceRequest
:
public
SageMakerRequest
22
{
23
public
:
24
DescribeWorkforceRequest
();
25
26
// Service request name is the Operation name which will send this request out,
27
// each operation should has unique request name, so that we can get operation's name from this request.
28
// Note: this is not true for response, multiple operations may have the same response name,
29
// so we can not get operation's name from response.
30
inline
virtual
const
char
*
GetServiceRequestName
()
const override
{
return
"DescribeWorkforce"
; }
31
32
Aws::String
SerializePayload
()
const override
;
33
34
Aws::Http::HeaderValueCollection
GetRequestSpecificHeaders
()
const override
;
35
36
42
inline
const
Aws::String
&
GetWorkforceName
()
const
{
return
m_workforceName; }
43
49
inline
bool
WorkforceNameHasBeenSet
()
const
{
return
m_workforceNameHasBeenSet; }
50
56
inline
void
SetWorkforceName
(
const
Aws::String
& value) { m_workforceNameHasBeenSet =
true
; m_workforceName = value; }
57
63
inline
void
SetWorkforceName
(
Aws::String
&& value) { m_workforceNameHasBeenSet =
true
; m_workforceName = std::move(value); }
64
70
inline
void
SetWorkforceName
(
const
char
* value) { m_workforceNameHasBeenSet =
true
; m_workforceName.assign(value); }
71
77
inline
DescribeWorkforceRequest
&
WithWorkforceName
(
const
Aws::String
& value) { SetWorkforceName(value);
return
*
this
;}
78
84
inline
DescribeWorkforceRequest
&
WithWorkforceName
(
Aws::String
&& value) { SetWorkforceName(std::move(value));
return
*
this
;}
85
91
inline
DescribeWorkforceRequest
&
WithWorkforceName
(
const
char
* value) { SetWorkforceName(value);
return
*
this
;}
92
93
private
:
94
95
Aws::String
m_workforceName;
96
bool
m_workforceNameHasBeenSet;
97
};
98
99
}
// namespace Model
100
}
// namespace SageMaker
101
}
// namespace Aws
Aws::SageMaker::Model::DescribeWorkforceRequest::WithWorkforceName
DescribeWorkforceRequest & WithWorkforceName(const char *value)
Definition:
DescribeWorkforceRequest.h:91
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition:
HttpTypes.h:53
Aws::SageMaker::Model::DescribeWorkforceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
DescribeWorkforceRequest.h:30
Aws::SageMaker::Model::DescribeWorkforceRequest
Definition:
DescribeWorkforceRequest.h:22
Aws::SageMaker::Model::DescribeWorkforceRequest::WorkforceNameHasBeenSet
bool WorkforceNameHasBeenSet() const
Definition:
DescribeWorkforceRequest.h:49
Aws::SageMaker::Model::DescribeWorkforceRequest::SetWorkforceName
void SetWorkforceName(const char *value)
Definition:
DescribeWorkforceRequest.h:70
Aws::SageMaker::Model::DescribeWorkforceRequest::WithWorkforceName
DescribeWorkforceRequest & WithWorkforceName(const Aws::String &value)
Definition:
DescribeWorkforceRequest.h:77
Aws::SageMaker::Model::DescribeWorkforceRequest::DescribeWorkforceRequest
DescribeWorkforceRequest()
Aws::SageMaker::Model::DescribeWorkforceRequest::WithWorkforceName
DescribeWorkforceRequest & WithWorkforceName(Aws::String &&value)
Definition:
DescribeWorkforceRequest.h:84
Aws::SageMaker::SageMakerRequest
Definition:
SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition:
SageMaker_EXPORTS.h:28
AWSString.h
Aws::SageMaker::Model::DescribeWorkforceRequest::GetWorkforceName
const Aws::String & GetWorkforceName() const
Definition:
DescribeWorkforceRequest.h:42
Aws::SageMaker::Model::DescribeWorkforceRequest::SetWorkforceName
void SetWorkforceName(Aws::String &&value)
Definition:
DescribeWorkforceRequest.h:63
Aws
Definition:
AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeWorkforceRequest::SetWorkforceName
void SetWorkforceName(const Aws::String &value)
Definition:
DescribeWorkforceRequest.h:56
Aws::SageMaker::Model::DescribeWorkforceRequest::SerializePayload
Aws::String SerializePayload() const override
SageMakerRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::SageMaker::Model::DescribeWorkforceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences