AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeDeviceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SageMaker
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "DescribeDevice"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
41 
45  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 
50  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
51 
55  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
56 
60  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
61 
65  inline DescribeDeviceRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
70  inline DescribeDeviceRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 
75  inline DescribeDeviceRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76 
77 
81  inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
82 
86  inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
87 
91  inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
92 
96  inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
97 
101  inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
102 
106  inline DescribeDeviceRequest& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
107 
111  inline DescribeDeviceRequest& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
112 
116  inline DescribeDeviceRequest& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
117 
118 
122  inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
123 
127  inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
128 
132  inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
133 
137  inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
138 
142  inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
143 
147  inline DescribeDeviceRequest& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
148 
152  inline DescribeDeviceRequest& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
153 
157  inline DescribeDeviceRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
158 
159  private:
160 
161  Aws::String m_nextToken;
162  bool m_nextTokenHasBeenSet;
163 
164  Aws::String m_deviceName;
165  bool m_deviceNameHasBeenSet;
166 
167  Aws::String m_deviceFleetName;
168  bool m_deviceFleetNameHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace SageMaker
173 } // namespace Aws
Aws::SageMaker::Model::DescribeDeviceRequest::SetDeviceFleetName
void SetDeviceFleetName(const char *value)
Definition: DescribeDeviceRequest.h:142
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeDeviceRequest::SetDeviceFleetName
void SetDeviceFleetName(const Aws::String &value)
Definition: DescribeDeviceRequest.h:132
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeDeviceRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeDeviceRequest.h:45
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::DescribeDeviceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::DescribeDeviceRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDeviceRequest.h:40
Aws::SageMaker::Model::DescribeDeviceRequest::WithDeviceName
DescribeDeviceRequest & WithDeviceName(const Aws::String &value)
Definition: DescribeDeviceRequest.h:106
Aws::SageMaker::Model::DescribeDeviceRequest::SetDeviceName
void SetDeviceName(const Aws::String &value)
Definition: DescribeDeviceRequest.h:91
Aws::SageMaker::Model::DescribeDeviceRequest::WithDeviceName
DescribeDeviceRequest & WithDeviceName(Aws::String &&value)
Definition: DescribeDeviceRequest.h:111
Aws::SageMaker::Model::DescribeDeviceRequest::DeviceNameHasBeenSet
bool DeviceNameHasBeenSet() const
Definition: DescribeDeviceRequest.h:86
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeDeviceRequest::WithNextToken
DescribeDeviceRequest & WithNextToken(Aws::String &&value)
Definition: DescribeDeviceRequest.h:70
Aws::SageMaker::Model::DescribeDeviceRequest::WithDeviceFleetName
DescribeDeviceRequest & WithDeviceFleetName(Aws::String &&value)
Definition: DescribeDeviceRequest.h:152
Aws::SageMaker::Model::DescribeDeviceRequest::WithNextToken
DescribeDeviceRequest & WithNextToken(const char *value)
Definition: DescribeDeviceRequest.h:75
Aws::SageMaker::Model::DescribeDeviceRequest::SetDeviceName
void SetDeviceName(const char *value)
Definition: DescribeDeviceRequest.h:101
AWSString.h
Aws::SageMaker::Model::DescribeDeviceRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDeviceRequest.h:50
Aws::SageMaker::Model::DescribeDeviceRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDeviceRequest.h:60
Aws::SageMaker::Model::DescribeDeviceRequest::GetDeviceName
const Aws::String & GetDeviceName() const
Definition: DescribeDeviceRequest.h:81
Aws::SageMaker::Model::DescribeDeviceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::DescribeDeviceRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDeviceRequest.h:55
Aws::SageMaker::Model::DescribeDeviceRequest::WithDeviceFleetName
DescribeDeviceRequest & WithDeviceFleetName(const Aws::String &value)
Definition: DescribeDeviceRequest.h:147
Aws::SageMaker::Model::DescribeDeviceRequest::WithDeviceFleetName
DescribeDeviceRequest & WithDeviceFleetName(const char *value)
Definition: DescribeDeviceRequest.h:157
Aws::SageMaker::Model::DescribeDeviceRequest
Definition: DescribeDeviceRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeDeviceRequest::SetDeviceFleetName
void SetDeviceFleetName(Aws::String &&value)
Definition: DescribeDeviceRequest.h:137
Aws::SageMaker::Model::DescribeDeviceRequest::DescribeDeviceRequest
DescribeDeviceRequest()
SageMakerRequest.h
Aws::SageMaker::Model::DescribeDeviceRequest::DeviceFleetNameHasBeenSet
bool DeviceFleetNameHasBeenSet() const
Definition: DescribeDeviceRequest.h:127
Aws::SageMaker::Model::DescribeDeviceRequest::SetDeviceName
void SetDeviceName(Aws::String &&value)
Definition: DescribeDeviceRequest.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeDeviceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDeviceRequest.h:30
Aws::SageMaker::Model::DescribeDeviceRequest::WithNextToken
DescribeDeviceRequest & WithNextToken(const Aws::String &value)
Definition: DescribeDeviceRequest.h:65
Aws::SageMaker::Model::DescribeDeviceRequest::GetDeviceFleetName
const Aws::String & GetDeviceFleetName() const
Definition: DescribeDeviceRequest.h:122
Aws::SageMaker::Model::DescribeDeviceRequest::WithDeviceName
DescribeDeviceRequest & WithDeviceName(const char *value)
Definition: DescribeDeviceRequest.h:116