AWS SDK for C++  1.9.71
AWS SDK for C++
UpdateConfigurationRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateConfiguration"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
42 
46  inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
47 
51  inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; }
52 
56  inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); }
57 
61  inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); }
62 
66  inline UpdateConfigurationRequest& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;}
67 
71  inline UpdateConfigurationRequest& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
72 
76  inline UpdateConfigurationRequest& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
77 
78 
82  inline const Aws::String& GetData() const{ return m_data; }
83 
87  inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
88 
92  inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; }
93 
97  inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
98 
102  inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); }
103 
107  inline UpdateConfigurationRequest& WithData(const Aws::String& value) { SetData(value); return *this;}
108 
112  inline UpdateConfigurationRequest& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;}
113 
117  inline UpdateConfigurationRequest& WithData(const char* value) { SetData(value); return *this;}
118 
119 
123  inline const Aws::String& GetDescription() const{ return m_description; }
124 
128  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 
133  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 
138  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
148  inline UpdateConfigurationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 
153  inline UpdateConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 
158  inline UpdateConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
159 
160  private:
161 
162  Aws::String m_configurationId;
163  bool m_configurationIdHasBeenSet;
164 
165  Aws::String m_data;
166  bool m_dataHasBeenSet;
167 
168  Aws::String m_description;
169  bool m_descriptionHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace MQ
174 } // namespace Aws
Aws::MQ::Model::UpdateConfigurationRequest::GetData
const Aws::String & GetData() const
Definition: UpdateConfigurationRequest.h:82
Aws::MQ::Model::UpdateConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConfigurationRequest.h:33
AWS_MQ_API
#define AWS_MQ_API
Definition: MQ_EXPORTS.h:28
Aws::MQ::Model::UpdateConfigurationRequest::ConfigurationIdHasBeenSet
bool ConfigurationIdHasBeenSet() const
Definition: UpdateConfigurationRequest.h:46
Aws::MQ::Model::UpdateConfigurationRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateConfigurationRequest.h:143
Aws::MQ::Model::UpdateConfigurationRequest::WithData
UpdateConfigurationRequest & WithData(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:107
Aws::MQ::Model::UpdateConfigurationRequest::WithDescription
UpdateConfigurationRequest & WithDescription(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:153
Aws::MQ::Model::UpdateConfigurationRequest::WithConfigurationId
UpdateConfigurationRequest & WithConfigurationId(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:66
Aws::MQ::Model::UpdateConfigurationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateConfigurationRequest.h:128
MQ_EXPORTS.h
Aws::MQ::Model::UpdateConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MQ::Model::UpdateConfigurationRequest::SetData
void SetData(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:92
Aws::MQ::Model::UpdateConfigurationRequest::SetData
void SetData(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:97
Aws::MQ::Model::UpdateConfigurationRequest::WithData
UpdateConfigurationRequest & WithData(const char *value)
Definition: UpdateConfigurationRequest.h:117
Aws::MQ::Model::UpdateConfigurationRequest::GetConfigurationId
const Aws::String & GetConfigurationId() const
Definition: UpdateConfigurationRequest.h:41
Aws::MQ::Model::UpdateConfigurationRequest::DataHasBeenSet
bool DataHasBeenSet() const
Definition: UpdateConfigurationRequest.h:87
AWSString.h
Aws::MQ::Model::UpdateConfigurationRequest::SetConfigurationId
void SetConfigurationId(const char *value)
Definition: UpdateConfigurationRequest.h:61
Aws::MQ::Model::UpdateConfigurationRequest::SetConfigurationId
void SetConfigurationId(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:56
Aws::MQ::Model::UpdateConfigurationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateConfigurationRequest.h:123
MQRequest.h
Aws::MQ::Model::UpdateConfigurationRequest::WithDescription
UpdateConfigurationRequest & WithDescription(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:148
Aws::MQ::Model::UpdateConfigurationRequest::WithData
UpdateConfigurationRequest & WithData(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:112
Aws::MQ::Model::UpdateConfigurationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:133
Aws::MQ::Model::UpdateConfigurationRequest::WithConfigurationId
UpdateConfigurationRequest & WithConfigurationId(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:71
Aws::MQ::Model::UpdateConfigurationRequest::SetConfigurationId
void SetConfigurationId(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::MQ::MQRequest
Definition: MQRequest.h:17
Aws::MQ::Model::UpdateConfigurationRequest::WithConfigurationId
UpdateConfigurationRequest & WithConfigurationId(const char *value)
Definition: UpdateConfigurationRequest.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MQ::Model::UpdateConfigurationRequest::WithDescription
UpdateConfigurationRequest & WithDescription(const char *value)
Definition: UpdateConfigurationRequest.h:158
Aws::MQ::Model::UpdateConfigurationRequest::UpdateConfigurationRequest
UpdateConfigurationRequest()
Aws::MQ::Model::UpdateConfigurationRequest
Definition: UpdateConfigurationRequest.h:25
Aws::MQ::Model::UpdateConfigurationRequest::SetData
void SetData(const char *value)
Definition: UpdateConfigurationRequest.h:102
Aws::MQ::Model::UpdateConfigurationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:138