AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
CreateConfigurationSetRequest.h
1
6#pragma once
7#include <aws/email/SESRequest.h>
8#include <aws/email/SES_EXPORTS.h>
9#include <aws/email/model/ConfigurationSet.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SES {
15namespace Model {
16
27 public:
28 AWS_SES_API CreateConfigurationSetRequest() = default;
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 "CreateConfigurationSet"; }
35
36 AWS_SES_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
40
41 public:
43
46 inline const ConfigurationSet& GetConfigurationSet() const { return m_configurationSet; }
47 inline bool ConfigurationSetHasBeenSet() const { return m_configurationSetHasBeenSet; }
48 template <typename ConfigurationSetT = ConfigurationSet>
49 void SetConfigurationSet(ConfigurationSetT&& value) {
50 m_configurationSetHasBeenSet = true;
51 m_configurationSet = std::forward<ConfigurationSetT>(value);
52 }
53 template <typename ConfigurationSetT = ConfigurationSet>
55 SetConfigurationSet(std::forward<ConfigurationSetT>(value));
56 return *this;
57 }
59 private:
60 ConfigurationSet m_configurationSet;
61 bool m_configurationSetHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace SES
66} // namespace Aws
CreateConfigurationSetRequest & WithConfigurationSet(ConfigurationSetT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SES_API Aws::String SerializePayload() const override
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String