AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConfigurationRequest.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/MQRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace MQ
15{
16namespace 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_MQ_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
43 inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
44 inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; }
45 inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); }
46 inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); }
48 inline UpdateConfigurationRequest& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
49 inline UpdateConfigurationRequest& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
51
53
57 inline const Aws::String& GetData() const{ return m_data; }
58 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
59 inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; }
60 inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
61 inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); }
62 inline UpdateConfigurationRequest& WithData(const Aws::String& value) { SetData(value); return *this;}
63 inline UpdateConfigurationRequest& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;}
64 inline UpdateConfigurationRequest& WithData(const char* value) { SetData(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline UpdateConfigurationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline UpdateConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline UpdateConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
80 private:
81
82 Aws::String m_configurationId;
83 bool m_configurationIdHasBeenSet = false;
84
85 Aws::String m_data;
86 bool m_dataHasBeenSet = false;
87
88 Aws::String m_description;
89 bool m_descriptionHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace MQ
94} // namespace Aws
UpdateConfigurationRequest & WithConfigurationId(Aws::String &&value)
UpdateConfigurationRequest & WithDescription(const Aws::String &value)
AWS_MQ_API Aws::String SerializePayload() const override
UpdateConfigurationRequest & WithData(const Aws::String &value)
UpdateConfigurationRequest & WithData(Aws::String &&value)
UpdateConfigurationRequest & WithConfigurationId(const char *value)
UpdateConfigurationRequest & WithData(const char *value)
UpdateConfigurationRequest & WithConfigurationId(const Aws::String &value)
UpdateConfigurationRequest & WithDescription(const char *value)
UpdateConfigurationRequest & WithDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String