AWS SDK for C++  1.9.71
AWS SDK for C++
DescribeConfigurationRequest.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 "DescribeConfiguration"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
39 
43  inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
44 
48  inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; }
49 
53  inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); }
54 
58  inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); }
59 
63  inline DescribeConfigurationRequest& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;}
64 
68  inline DescribeConfigurationRequest& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
69 
73  inline DescribeConfigurationRequest& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_configurationId;
78  bool m_configurationIdHasBeenSet;
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::DescribeConfigurationRequest
Definition: DescribeConfigurationRequest.h:22
Aws::MQ::Model::DescribeConfigurationRequest::WithConfigurationId
DescribeConfigurationRequest & WithConfigurationId(const Aws::String &value)
Definition: DescribeConfigurationRequest.h:63
MQ_EXPORTS.h
Aws::MQ::Model::DescribeConfigurationRequest::DescribeConfigurationRequest
DescribeConfigurationRequest()
Aws::MQ::Model::DescribeConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MQ::Model::DescribeConfigurationRequest::GetConfigurationId
const Aws::String & GetConfigurationId() const
Definition: DescribeConfigurationRequest.h:38
Aws::MQ::Model::DescribeConfigurationRequest::SetConfigurationId
void SetConfigurationId(const Aws::String &value)
Definition: DescribeConfigurationRequest.h:48
Aws::MQ::Model::DescribeConfigurationRequest::WithConfigurationId
DescribeConfigurationRequest & WithConfigurationId(Aws::String &&value)
Definition: DescribeConfigurationRequest.h:68
Aws::MQ::Model::DescribeConfigurationRequest::SetConfigurationId
void SetConfigurationId(const char *value)
Definition: DescribeConfigurationRequest.h:58
AWSString.h
MQRequest.h
Aws::MQ::Model::DescribeConfigurationRequest::ConfigurationIdHasBeenSet
bool ConfigurationIdHasBeenSet() const
Definition: DescribeConfigurationRequest.h:43
Aws::MQ::Model::DescribeConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeConfigurationRequest.h:30
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
Aws::MQ::Model::DescribeConfigurationRequest::WithConfigurationId
DescribeConfigurationRequest & WithConfigurationId(const char *value)
Definition: DescribeConfigurationRequest.h:73
Aws::MQ::Model::DescribeConfigurationRequest::SetConfigurationId
void SetConfigurationId(Aws::String &&value)
Definition: DescribeConfigurationRequest.h:53