AWS SDK for C++  1.9.107
AWS SDK for C++
CreateDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SimpleDB
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateDomain"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
44  inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 
51  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
52 
58  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
59 
65  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
66 
72  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
73 
79  inline CreateDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
80 
86  inline CreateDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
87 
93  inline CreateDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
94 
95  private:
96 
97  Aws::String m_domainName;
98  bool m_domainNameHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace SimpleDB
103 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SimpleDB::Model::CreateDomainRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: CreateDomainRequest.h:44
Aws::SimpleDB::Model::CreateDomainRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: CreateDomainRequest.h:65
SimpleDBRequest.h
Aws::SimpleDB::Model::CreateDomainRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: CreateDomainRequest.h:51
Aws::SimpleDB::Model::CreateDomainRequest::WithDomainName
CreateDomainRequest & WithDomainName(Aws::String &&value)
Definition: CreateDomainRequest.h:86
Aws::SimpleDB::Model::CreateDomainRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SimpleDB::Model::CreateDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDomainRequest.h:30
AWSString.h
Aws::SimpleDB::Model::CreateDomainRequest::WithDomainName
CreateDomainRequest & WithDomainName(const char *value)
Definition: CreateDomainRequest.h:93
Aws::SimpleDB::Model::CreateDomainRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: CreateDomainRequest.h:58
Aws::SimpleDB::Model::CreateDomainRequest::CreateDomainRequest
CreateDomainRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::SimpleDB::Model::CreateDomainRequest::WithDomainName
CreateDomainRequest & WithDomainName(const Aws::String &value)
Definition: CreateDomainRequest.h:79
AWS_SIMPLEDB_API
#define AWS_SIMPLEDB_API
Definition: SimpleDB_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SimpleDB_EXPORTS.h
Aws::SimpleDB::Model::CreateDomainRequest::SetDomainName
void SetDomainName(const char *value)
Definition: CreateDomainRequest.h:72
Aws::SimpleDB::Model::CreateDomainRequest
Definition: CreateDomainRequest.h:22
Aws::SimpleDB::SimpleDBRequest
Definition: SimpleDBRequest.h:17
Aws::SimpleDB::Model::CreateDomainRequest::SerializePayload
Aws::String SerializePayload() const override