AWS SDK for C++  1.8.95
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
CheckDNSAvailabilityRequest & WithCNAMEPrefix(const Aws::String &value)
#define AWS_ELASTICBEANSTALK_API
CheckDNSAvailabilityRequest & WithCNAMEPrefix(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CheckDNSAvailabilityRequest & WithCNAMEPrefix(Aws::String &&value)