AWS SDK for C++  1.9.71
AWS SDK for C++
DeleteBrokerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mq/MQ_EXPORTS.h>
8 #include <aws/mq/MQRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MQ
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 "DeleteBroker"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetBrokerId() const{ return m_brokerId; }
39 
43  inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; }
44 
48  inline void SetBrokerId(const Aws::String& value) { m_brokerIdHasBeenSet = true; m_brokerId = value; }
49 
53  inline void SetBrokerId(Aws::String&& value) { m_brokerIdHasBeenSet = true; m_brokerId = std::move(value); }
54 
58  inline void SetBrokerId(const char* value) { m_brokerIdHasBeenSet = true; m_brokerId.assign(value); }
59 
63  inline DeleteBrokerRequest& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;}
64 
68  inline DeleteBrokerRequest& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;}
69 
73  inline DeleteBrokerRequest& WithBrokerId(const char* value) { SetBrokerId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_brokerId;
78  bool m_brokerIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace MQ
83 } // namespace Aws
AWS_MQ_API
#define AWS_MQ_API
Definition: MQ_EXPORTS.h:28
Aws::MQ::Model::DeleteBrokerRequest::SerializePayload
Aws::String SerializePayload() const override
MQ_EXPORTS.h
Aws::MQ::Model::DeleteBrokerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBrokerRequest.h:30
Aws::MQ::Model::DeleteBrokerRequest::SetBrokerId
void SetBrokerId(const Aws::String &value)
Definition: DeleteBrokerRequest.h:48
Aws::MQ::Model::DeleteBrokerRequest::SetBrokerId
void SetBrokerId(const char *value)
Definition: DeleteBrokerRequest.h:58
Aws::MQ::Model::DeleteBrokerRequest::DeleteBrokerRequest
DeleteBrokerRequest()
Aws::MQ::Model::DeleteBrokerRequest::WithBrokerId
DeleteBrokerRequest & WithBrokerId(Aws::String &&value)
Definition: DeleteBrokerRequest.h:68
Aws::MQ::Model::DeleteBrokerRequest::WithBrokerId
DeleteBrokerRequest & WithBrokerId(const char *value)
Definition: DeleteBrokerRequest.h:73
Aws::MQ::Model::DeleteBrokerRequest::WithBrokerId
DeleteBrokerRequest & WithBrokerId(const Aws::String &value)
Definition: DeleteBrokerRequest.h:63
Aws::MQ::Model::DeleteBrokerRequest::SetBrokerId
void SetBrokerId(Aws::String &&value)
Definition: DeleteBrokerRequest.h:53
AWSString.h
MQRequest.h
Aws::MQ::Model::DeleteBrokerRequest::BrokerIdHasBeenSet
bool BrokerIdHasBeenSet() const
Definition: DeleteBrokerRequest.h:43
Aws::MQ::Model::DeleteBrokerRequest
Definition: DeleteBrokerRequest.h:22
Aws::MQ::Model::DeleteBrokerRequest::GetBrokerId
const Aws::String & GetBrokerId() const
Definition: DeleteBrokerRequest.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::MQ::MQRequest
Definition: MQRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97