AWS SDK for C++  1.8.127
AWS SDK for C++
CreateConfigurationSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationSet"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
49  inline const ConfigurationSet& GetConfigurationSet() const{ return m_configurationSet; }
50 
54  inline bool ConfigurationSetHasBeenSet() const { return m_configurationSetHasBeenSet; }
55 
59  inline void SetConfigurationSet(const ConfigurationSet& value) { m_configurationSetHasBeenSet = true; m_configurationSet = value; }
60 
64  inline void SetConfigurationSet(ConfigurationSet&& value) { m_configurationSetHasBeenSet = true; m_configurationSet = std::move(value); }
65 
69  inline CreateConfigurationSetRequest& WithConfigurationSet(const ConfigurationSet& value) { SetConfigurationSet(value); return *this;}
70 
74  inline CreateConfigurationSetRequest& WithConfigurationSet(ConfigurationSet&& value) { SetConfigurationSet(std::move(value)); return *this;}
75 
76  private:
77 
78  ConfigurationSet m_configurationSet;
79  bool m_configurationSetHasBeenSet;
80  };
81 
82 } // namespace Model
83 } // namespace SES
84 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::CreateConfigurationSetRequest::GetConfigurationSet
const ConfigurationSet & GetConfigurationSet() const
Definition: CreateConfigurationSetRequest.h:49
Aws::SES::Model::CreateConfigurationSetRequest::CreateConfigurationSetRequest
CreateConfigurationSetRequest()
Aws::SES::Model::CreateConfigurationSetRequest::SetConfigurationSet
void SetConfigurationSet(ConfigurationSet &&value)
Definition: CreateConfigurationSetRequest.h:64
Aws::SES::Model::CreateConfigurationSetRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::CreateConfigurationSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::CreateConfigurationSetRequest::SetConfigurationSet
void SetConfigurationSet(const ConfigurationSet &value)
Definition: CreateConfigurationSetRequest.h:59
Aws::SES::Model::CreateConfigurationSetRequest::ConfigurationSetHasBeenSet
bool ConfigurationSetHasBeenSet() const
Definition: CreateConfigurationSetRequest.h:54
SESRequest.h
ConfigurationSet.h
Aws::SES::Model::ConfigurationSet
Definition: ConfigurationSet.h:38
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::CreateConfigurationSetRequest::WithConfigurationSet
CreateConfigurationSetRequest & WithConfigurationSet(ConfigurationSet &&value)
Definition: CreateConfigurationSetRequest.h:74
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::CreateConfigurationSetRequest::WithConfigurationSet
CreateConfigurationSetRequest & WithConfigurationSet(const ConfigurationSet &value)
Definition: CreateConfigurationSetRequest.h:69
Aws::SES::Model::CreateConfigurationSetRequest
Definition: CreateConfigurationSetRequest.h:29
Aws::SES::Model::CreateConfigurationSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateConfigurationSetRequest.h:37