AWS SDK for C++  1.9.176
AWS SDK for C++
CheckDNSAvailabilityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticBeanstalk
15 {
16 namespace Model
17 {
18 
26  {
27  public:
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 "CheckDNSAvailability"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetCNAMEPrefix() const{ return m_cNAMEPrefix; }
47 
51  inline bool CNAMEPrefixHasBeenSet() const { return m_cNAMEPrefixHasBeenSet; }
52 
56  inline void SetCNAMEPrefix(const Aws::String& value) { m_cNAMEPrefixHasBeenSet = true; m_cNAMEPrefix = value; }
57 
61  inline void SetCNAMEPrefix(Aws::String&& value) { m_cNAMEPrefixHasBeenSet = true; m_cNAMEPrefix = std::move(value); }
62 
66  inline void SetCNAMEPrefix(const char* value) { m_cNAMEPrefixHasBeenSet = true; m_cNAMEPrefix.assign(value); }
67 
71  inline CheckDNSAvailabilityRequest& WithCNAMEPrefix(const Aws::String& value) { SetCNAMEPrefix(value); return *this;}
72 
76  inline CheckDNSAvailabilityRequest& WithCNAMEPrefix(Aws::String&& value) { SetCNAMEPrefix(std::move(value)); return *this;}
77 
81  inline CheckDNSAvailabilityRequest& WithCNAMEPrefix(const char* value) { SetCNAMEPrefix(value); return *this;}
82 
83  private:
84 
85  Aws::String m_cNAMEPrefix;
86  bool m_cNAMEPrefixHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace ElasticBeanstalk
91 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::WithCNAMEPrefix
CheckDNSAvailabilityRequest & WithCNAMEPrefix(const char *value)
Definition: CheckDNSAvailabilityRequest.h:81
ElasticBeanstalkRequest.h
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::GetCNAMEPrefix
const Aws::String & GetCNAMEPrefix() const
Definition: CheckDNSAvailabilityRequest.h:46
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::SetCNAMEPrefix
void SetCNAMEPrefix(Aws::String &&value)
Definition: CheckDNSAvailabilityRequest.h:61
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CheckDNSAvailabilityRequest.h:34
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::SetCNAMEPrefix
void SetCNAMEPrefix(const char *value)
Definition: CheckDNSAvailabilityRequest.h:66
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::WithCNAMEPrefix
CheckDNSAvailabilityRequest & WithCNAMEPrefix(Aws::String &&value)
Definition: CheckDNSAvailabilityRequest.h:76
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::CNAMEPrefixHasBeenSet
bool CNAMEPrefixHasBeenSet() const
Definition: CheckDNSAvailabilityRequest.h:51
AWSString.h
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::SetCNAMEPrefix
void SetCNAMEPrefix(const Aws::String &value)
Definition: CheckDNSAvailabilityRequest.h:56
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::CheckDNSAvailabilityRequest
CheckDNSAvailabilityRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest
Definition: CheckDNSAvailabilityRequest.h:26
Aws::ElasticBeanstalk::ElasticBeanstalkRequest
Definition: ElasticBeanstalkRequest.h:17
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::WithCNAMEPrefix
CheckDNSAvailabilityRequest & WithCNAMEPrefix(const Aws::String &value)
Definition: CheckDNSAvailabilityRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityRequest::SerializePayload
Aws::String SerializePayload() const override