AWS SDK for C++  1.9.109
AWS SDK for C++
DeregisterDevicesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DeregisterDevices"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
42 
46  inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
47 
51  inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
52 
56  inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
57 
61  inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
62 
66  inline DeregisterDevicesRequest& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
67 
71  inline DeregisterDevicesRequest& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
72 
76  inline DeregisterDevicesRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
77 
78 
82  inline const Aws::Vector<Aws::String>& GetDeviceNames() const{ return m_deviceNames; }
83 
87  inline bool DeviceNamesHasBeenSet() const { return m_deviceNamesHasBeenSet; }
88 
92  inline void SetDeviceNames(const Aws::Vector<Aws::String>& value) { m_deviceNamesHasBeenSet = true; m_deviceNames = value; }
93 
97  inline void SetDeviceNames(Aws::Vector<Aws::String>&& value) { m_deviceNamesHasBeenSet = true; m_deviceNames = std::move(value); }
98 
102  inline DeregisterDevicesRequest& WithDeviceNames(const Aws::Vector<Aws::String>& value) { SetDeviceNames(value); return *this;}
103 
107  inline DeregisterDevicesRequest& WithDeviceNames(Aws::Vector<Aws::String>&& value) { SetDeviceNames(std::move(value)); return *this;}
108 
112  inline DeregisterDevicesRequest& AddDeviceNames(const Aws::String& value) { m_deviceNamesHasBeenSet = true; m_deviceNames.push_back(value); return *this; }
113 
117  inline DeregisterDevicesRequest& AddDeviceNames(Aws::String&& value) { m_deviceNamesHasBeenSet = true; m_deviceNames.push_back(std::move(value)); return *this; }
118 
122  inline DeregisterDevicesRequest& AddDeviceNames(const char* value) { m_deviceNamesHasBeenSet = true; m_deviceNames.push_back(value); return *this; }
123 
124  private:
125 
126  Aws::String m_deviceFleetName;
127  bool m_deviceFleetNameHasBeenSet;
128 
129  Aws::Vector<Aws::String> m_deviceNames;
130  bool m_deviceNamesHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace SageMaker
135 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DeregisterDevicesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::DeregisterDevicesRequest
Definition: DeregisterDevicesRequest.h:23
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DeregisterDevicesRequest::AddDeviceNames
DeregisterDevicesRequest & AddDeviceNames(Aws::String &&value)
Definition: DeregisterDevicesRequest.h:117
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::DeregisterDevicesRequest::WithDeviceNames
DeregisterDevicesRequest & WithDeviceNames(const Aws::Vector< Aws::String > &value)
Definition: DeregisterDevicesRequest.h:102
Aws::SageMaker::Model::DeregisterDevicesRequest::AddDeviceNames
DeregisterDevicesRequest & AddDeviceNames(const char *value)
Definition: DeregisterDevicesRequest.h:122
Aws::SageMaker::Model::DeregisterDevicesRequest::SetDeviceFleetName
void SetDeviceFleetName(Aws::String &&value)
Definition: DeregisterDevicesRequest.h:56
Aws::SageMaker::Model::DeregisterDevicesRequest::WithDeviceNames
DeregisterDevicesRequest & WithDeviceNames(Aws::Vector< Aws::String > &&value)
Definition: DeregisterDevicesRequest.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::DeregisterDevicesRequest::WithDeviceFleetName
DeregisterDevicesRequest & WithDeviceFleetName(const Aws::String &value)
Definition: DeregisterDevicesRequest.h:66
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeregisterDevicesRequest::DeregisterDevicesRequest
DeregisterDevicesRequest()
Aws::SageMaker::Model::DeregisterDevicesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeregisterDevicesRequest.h:31
Aws::SageMaker::Model::DeregisterDevicesRequest::DeviceNamesHasBeenSet
bool DeviceNamesHasBeenSet() const
Definition: DeregisterDevicesRequest.h:87
Aws::SageMaker::Model::DeregisterDevicesRequest::SetDeviceFleetName
void SetDeviceFleetName(const Aws::String &value)
Definition: DeregisterDevicesRequest.h:51
AWSString.h
Aws::SageMaker::Model::DeregisterDevicesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::DeregisterDevicesRequest::GetDeviceNames
const Aws::Vector< Aws::String > & GetDeviceNames() const
Definition: DeregisterDevicesRequest.h:82
Aws::SageMaker::Model::DeregisterDevicesRequest::SetDeviceNames
void SetDeviceNames(const Aws::Vector< Aws::String > &value)
Definition: DeregisterDevicesRequest.h:92
Aws::SageMaker::Model::DeregisterDevicesRequest::WithDeviceFleetName
DeregisterDevicesRequest & WithDeviceFleetName(const char *value)
Definition: DeregisterDevicesRequest.h:76
Aws::SageMaker::Model::DeregisterDevicesRequest::SetDeviceNames
void SetDeviceNames(Aws::Vector< Aws::String > &&value)
Definition: DeregisterDevicesRequest.h:97
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DeregisterDevicesRequest::SetDeviceFleetName
void SetDeviceFleetName(const char *value)
Definition: DeregisterDevicesRequest.h:61
Aws::SageMaker::Model::DeregisterDevicesRequest::WithDeviceFleetName
DeregisterDevicesRequest & WithDeviceFleetName(Aws::String &&value)
Definition: DeregisterDevicesRequest.h:71
Aws::SageMaker::Model::DeregisterDevicesRequest::DeviceFleetNameHasBeenSet
bool DeviceFleetNameHasBeenSet() const
Definition: DeregisterDevicesRequest.h:46
Aws::SageMaker::Model::DeregisterDevicesRequest::AddDeviceNames
DeregisterDevicesRequest & AddDeviceNames(const Aws::String &value)
Definition: DeregisterDevicesRequest.h:112
Aws::SageMaker::Model::DeregisterDevicesRequest::GetDeviceFleetName
const Aws::String & GetDeviceFleetName() const
Definition: DeregisterDevicesRequest.h:41