AWS SDK for C++  1.9.161
AWS SDK for C++
GetDomainDeliverabilityCampaignRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
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 "GetDomainDeliverabilityCampaign"; }
38 
39  Aws::String SerializePayload() const override;
40 
41 
46  inline const Aws::String& GetCampaignId() const{ return m_campaignId; }
47 
52  inline bool CampaignIdHasBeenSet() const { return m_campaignIdHasBeenSet; }
53 
58  inline void SetCampaignId(const Aws::String& value) { m_campaignIdHasBeenSet = true; m_campaignId = value; }
59 
64  inline void SetCampaignId(Aws::String&& value) { m_campaignIdHasBeenSet = true; m_campaignId = std::move(value); }
65 
70  inline void SetCampaignId(const char* value) { m_campaignIdHasBeenSet = true; m_campaignId.assign(value); }
71 
76  inline GetDomainDeliverabilityCampaignRequest& WithCampaignId(const Aws::String& value) { SetCampaignId(value); return *this;}
77 
82  inline GetDomainDeliverabilityCampaignRequest& WithCampaignId(Aws::String&& value) { SetCampaignId(std::move(value)); return *this;}
83 
88  inline GetDomainDeliverabilityCampaignRequest& WithCampaignId(const char* value) { SetCampaignId(value); return *this;}
89 
90  private:
91 
92  Aws::String m_campaignId;
93  bool m_campaignIdHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace SESV2
98 } // namespace Aws
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::GetCampaignId
const Aws::String & GetCampaignId() const
Definition: GetDomainDeliverabilityCampaignRequest.h:46
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::SetCampaignId
void SetCampaignId(const Aws::String &value)
Definition: GetDomainDeliverabilityCampaignRequest.h:58
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::GetDomainDeliverabilityCampaignRequest
GetDomainDeliverabilityCampaignRequest()
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::WithCampaignId
GetDomainDeliverabilityCampaignRequest & WithCampaignId(const char *value)
Definition: GetDomainDeliverabilityCampaignRequest.h:88
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::CampaignIdHasBeenSet
bool CampaignIdHasBeenSet() const
Definition: GetDomainDeliverabilityCampaignRequest.h:52
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::SetCampaignId
void SetCampaignId(Aws::String &&value)
Definition: GetDomainDeliverabilityCampaignRequest.h:64
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDomainDeliverabilityCampaignRequest.h:37
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
AWSString.h
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::WithCampaignId
GetDomainDeliverabilityCampaignRequest & WithCampaignId(Aws::String &&value)
Definition: GetDomainDeliverabilityCampaignRequest.h:82
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest
Definition: GetDomainDeliverabilityCampaignRequest.h:29
SESV2_EXPORTS.h
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::SetCampaignId
void SetCampaignId(const char *value)
Definition: GetDomainDeliverabilityCampaignRequest.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::GetDomainDeliverabilityCampaignRequest::WithCampaignId
GetDomainDeliverabilityCampaignRequest & WithCampaignId(const Aws::String &value)
Definition: GetDomainDeliverabilityCampaignRequest.h:76