AWS SDK for C++  1.9.46
AWS SDK for C++
DeleteDeviceUsageDataRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace AlexaForBusiness
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 "DeleteDeviceUsageData"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
42 
46  inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
47 
51  inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
52 
56  inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
57 
61  inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
62 
66  inline DeleteDeviceUsageDataRequest& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
67 
71  inline DeleteDeviceUsageDataRequest& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
72 
76  inline DeleteDeviceUsageDataRequest& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
77 
78 
82  inline const DeviceUsageType& GetDeviceUsageType() const{ return m_deviceUsageType; }
83 
87  inline bool DeviceUsageTypeHasBeenSet() const { return m_deviceUsageTypeHasBeenSet; }
88 
92  inline void SetDeviceUsageType(const DeviceUsageType& value) { m_deviceUsageTypeHasBeenSet = true; m_deviceUsageType = value; }
93 
97  inline void SetDeviceUsageType(DeviceUsageType&& value) { m_deviceUsageTypeHasBeenSet = true; m_deviceUsageType = std::move(value); }
98 
102  inline DeleteDeviceUsageDataRequest& WithDeviceUsageType(const DeviceUsageType& value) { SetDeviceUsageType(value); return *this;}
103 
107  inline DeleteDeviceUsageDataRequest& WithDeviceUsageType(DeviceUsageType&& value) { SetDeviceUsageType(std::move(value)); return *this;}
108 
109  private:
110 
111  Aws::String m_deviceArn;
112  bool m_deviceArnHasBeenSet;
113 
114  DeviceUsageType m_deviceUsageType;
115  bool m_deviceUsageTypeHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace AlexaForBusiness
120 } // namespace Aws
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::WithDeviceUsageType
DeleteDeviceUsageDataRequest & WithDeviceUsageType(const DeviceUsageType &value)
Definition: DeleteDeviceUsageDataRequest.h:102
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::SetDeviceArn
void SetDeviceArn(Aws::String &&value)
Definition: DeleteDeviceUsageDataRequest.h:56
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::WithDeviceUsageType
DeleteDeviceUsageDataRequest & WithDeviceUsageType(DeviceUsageType &&value)
Definition: DeleteDeviceUsageDataRequest.h:107
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::WithDeviceArn
DeleteDeviceUsageDataRequest & WithDeviceArn(Aws::String &&value)
Definition: DeleteDeviceUsageDataRequest.h:71
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::WithDeviceArn
DeleteDeviceUsageDataRequest & WithDeviceArn(const char *value)
Definition: DeleteDeviceUsageDataRequest.h:76
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::GetDeviceArn
const Aws::String & GetDeviceArn() const
Definition: DeleteDeviceUsageDataRequest.h:41
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::GetDeviceUsageType
const DeviceUsageType & GetDeviceUsageType() const
Definition: DeleteDeviceUsageDataRequest.h:82
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::WithDeviceArn
DeleteDeviceUsageDataRequest & WithDeviceArn(const Aws::String &value)
Definition: DeleteDeviceUsageDataRequest.h:66
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::SetDeviceUsageType
void SetDeviceUsageType(DeviceUsageType &&value)
Definition: DeleteDeviceUsageDataRequest.h:97
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::SetDeviceArn
void SetDeviceArn(const Aws::String &value)
Definition: DeleteDeviceUsageDataRequest.h:51
AWSString.h
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::SetDeviceArn
void SetDeviceArn(const char *value)
Definition: DeleteDeviceUsageDataRequest.h:61
Aws::AlexaForBusiness::Model::DeviceUsageType
DeviceUsageType
Definition: DeviceUsageType.h:17
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::DeleteDeviceUsageDataRequest
DeleteDeviceUsageDataRequest()
DeviceUsageType.h
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDeviceUsageDataRequest.h:31
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::SetDeviceUsageType
void SetDeviceUsageType(const DeviceUsageType &value)
Definition: DeleteDeviceUsageDataRequest.h:92
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::DeviceUsageTypeHasBeenSet
bool DeviceUsageTypeHasBeenSet() const
Definition: DeleteDeviceUsageDataRequest.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::DeviceArnHasBeenSet
bool DeviceArnHasBeenSet() const
Definition: DeleteDeviceUsageDataRequest.h:46
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest
Definition: DeleteDeviceUsageDataRequest.h:23
Aws::AlexaForBusiness::Model::DeleteDeviceUsageDataRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AlexaForBusinessRequest.h