AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainNameRequest.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AppSync
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_APPSYNC_API CreateDomainNameRequest();
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 "CreateDomainName"; }
31
32 AWS_APPSYNC_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDomainName() const{ return m_domainName; }
40 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
41 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
42 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
43 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
44 inline CreateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
45 inline CreateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
46 inline CreateDomainNameRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
48
50
55 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
56 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
57 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
58 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
59 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
60 inline CreateDomainNameRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
61 inline CreateDomainNameRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
62 inline CreateDomainNameRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline CreateDomainNameRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline CreateDomainNameRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline CreateDomainNameRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78 private:
79
80 Aws::String m_domainName;
81 bool m_domainNameHasBeenSet = false;
82
83 Aws::String m_certificateArn;
84 bool m_certificateArnHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace AppSync
92} // namespace Aws
CreateDomainNameRequest & WithDescription(const char *value)
CreateDomainNameRequest & WithDescription(const Aws::String &value)
CreateDomainNameRequest & WithCertificateArn(const char *value)
CreateDomainNameRequest & WithDescription(Aws::String &&value)
CreateDomainNameRequest & WithDomainName(Aws::String &&value)
CreateDomainNameRequest & WithDomainName(const Aws::String &value)
CreateDomainNameRequest & WithCertificateArn(Aws::String &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
CreateDomainNameRequest & WithCertificateArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateDomainNameRequest & WithDomainName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String