AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteBillingGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoT
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteBillingGroup"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; }
45 
49  inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; }
50 
54  inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = value; }
55 
59  inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::move(value); }
60 
64  inline void SetBillingGroupName(const char* value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName.assign(value); }
65 
69  inline DeleteBillingGroupRequest& WithBillingGroupName(const Aws::String& value) { SetBillingGroupName(value); return *this;}
70 
74  inline DeleteBillingGroupRequest& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
75 
79  inline DeleteBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
80 
81 
88  inline long long GetExpectedVersion() const{ return m_expectedVersion; }
89 
96  inline bool ExpectedVersionHasBeenSet() const { return m_expectedVersionHasBeenSet; }
97 
104  inline void SetExpectedVersion(long long value) { m_expectedVersionHasBeenSet = true; m_expectedVersion = value; }
105 
112  inline DeleteBillingGroupRequest& WithExpectedVersion(long long value) { SetExpectedVersion(value); return *this;}
113 
114  private:
115 
116  Aws::String m_billingGroupName;
117  bool m_billingGroupNameHasBeenSet;
118 
119  long long m_expectedVersion;
120  bool m_expectedVersionHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace IoT
125 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::DeleteBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(const char *value)
Definition: DeleteBillingGroupRequest.h:64
Aws::IoT::Model::DeleteBillingGroupRequest::WithBillingGroupName
DeleteBillingGroupRequest & WithBillingGroupName(const Aws::String &value)
Definition: DeleteBillingGroupRequest.h:69
Aws::IoT::Model::DeleteBillingGroupRequest::BillingGroupNameHasBeenSet
bool BillingGroupNameHasBeenSet() const
Definition: DeleteBillingGroupRequest.h:49
Aws::IoT::Model::DeleteBillingGroupRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::DeleteBillingGroupRequest::WithExpectedVersion
DeleteBillingGroupRequest & WithExpectedVersion(long long value)
Definition: DeleteBillingGroupRequest.h:112
Aws::IoT::Model::DeleteBillingGroupRequest::WithBillingGroupName
DeleteBillingGroupRequest & WithBillingGroupName(const char *value)
Definition: DeleteBillingGroupRequest.h:79
Aws::IoT::Model::DeleteBillingGroupRequest::SetExpectedVersion
void SetExpectedVersion(long long value)
Definition: DeleteBillingGroupRequest.h:104
Aws::IoT::Model::DeleteBillingGroupRequest::GetBillingGroupName
const Aws::String & GetBillingGroupName() const
Definition: DeleteBillingGroupRequest.h:44
Aws::IoT::Model::DeleteBillingGroupRequest::DeleteBillingGroupRequest
DeleteBillingGroupRequest()
Aws::IoT::Model::DeleteBillingGroupRequest::ExpectedVersionHasBeenSet
bool ExpectedVersionHasBeenSet() const
Definition: DeleteBillingGroupRequest.h:96
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DeleteBillingGroupRequest::WithBillingGroupName
DeleteBillingGroupRequest & WithBillingGroupName(Aws::String &&value)
Definition: DeleteBillingGroupRequest.h:74
Aws::IoT::Model::DeleteBillingGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DeleteBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(const Aws::String &value)
Definition: DeleteBillingGroupRequest.h:54
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DeleteBillingGroupRequest::GetExpectedVersion
long long GetExpectedVersion() const
Definition: DeleteBillingGroupRequest.h:88
IoTRequest.h
Aws::IoT::Model::DeleteBillingGroupRequest
Definition: DeleteBillingGroupRequest.h:26
Aws::IoT::Model::DeleteBillingGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBillingGroupRequest.h:34
IoT_EXPORTS.h
Aws::IoT::Model::DeleteBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(Aws::String &&value)
Definition: DeleteBillingGroupRequest.h:59