/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SESV2 { namespace Model { /** *

A request to associate a configuration set with an email * identity.

See Also:

AWS * API Reference

*/ class PutEmailIdentityConfigurationSetAttributesRequest : public SESV2Request { public: AWS_SESV2_API PutEmailIdentityConfigurationSetAttributesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutEmailIdentityConfigurationSetAttributes"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

The email address or domain to associate with a configuration set.

*/ inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; } /** *

The email address or domain to associate with a configuration set.

*/ inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; } /** *

The email address or domain to associate with a configuration set.

*/ inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; } /** *

The email address or domain to associate with a configuration set.

*/ inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); } /** *

The email address or domain to associate with a configuration set.

*/ inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); } /** *

The email address or domain to associate with a configuration set.

*/ inline PutEmailIdentityConfigurationSetAttributesRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;} /** *

The email address or domain to associate with a configuration set.

*/ inline PutEmailIdentityConfigurationSetAttributesRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;} /** *

The email address or domain to associate with a configuration set.

*/ inline PutEmailIdentityConfigurationSetAttributesRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;} /** *

The configuration set to associate with an email identity.

*/ inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; } /** *

The configuration set to associate with an email identity.

*/ inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; } /** *

The configuration set to associate with an email identity.

*/ inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; } /** *

The configuration set to associate with an email identity.

*/ inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); } /** *

The configuration set to associate with an email identity.

*/ inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); } /** *

The configuration set to associate with an email identity.

*/ inline PutEmailIdentityConfigurationSetAttributesRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;} /** *

The configuration set to associate with an email identity.

*/ inline PutEmailIdentityConfigurationSetAttributesRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;} /** *

The configuration set to associate with an email identity.

*/ inline PutEmailIdentityConfigurationSetAttributesRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;} private: Aws::String m_emailIdentity; bool m_emailIdentityHasBeenSet = false; Aws::String m_configurationSetName; bool m_configurationSetNameHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws