AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AssociateCustomDomainRequest.h
1
6#pragma once
7#include <aws/apprunner/AppRunnerRequest.h>
8#include <aws/apprunner/AppRunner_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AppRunner {
15namespace Model {
16
20 public:
21 AWS_APPRUNNER_API AssociateCustomDomainRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "AssociateCustomDomain"; }
28
29 AWS_APPRUNNER_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
39 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
40 template <typename ServiceArnT = Aws::String>
41 void SetServiceArn(ServiceArnT&& value) {
42 m_serviceArnHasBeenSet = true;
43 m_serviceArn = std::forward<ServiceArnT>(value);
44 }
45 template <typename ServiceArnT = Aws::String>
47 SetServiceArn(std::forward<ServiceArnT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetDomainName() const { return m_domainName; }
60 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
61 template <typename DomainNameT = Aws::String>
62 void SetDomainName(DomainNameT&& value) {
63 m_domainNameHasBeenSet = true;
64 m_domainName = std::forward<DomainNameT>(value);
65 }
66 template <typename DomainNameT = Aws::String>
68 SetDomainName(std::forward<DomainNameT>(value));
69 return *this;
70 }
72
74
79 inline bool GetEnableWWWSubdomain() const { return m_enableWWWSubdomain; }
80 inline bool EnableWWWSubdomainHasBeenSet() const { return m_enableWWWSubdomainHasBeenSet; }
81 inline void SetEnableWWWSubdomain(bool value) {
82 m_enableWWWSubdomainHasBeenSet = true;
83 m_enableWWWSubdomain = value;
84 }
87 return *this;
88 }
90 private:
91 Aws::String m_serviceArn;
92
93 Aws::String m_domainName;
94
95 bool m_enableWWWSubdomain{false};
96 bool m_serviceArnHasBeenSet = false;
97 bool m_domainNameHasBeenSet = false;
98 bool m_enableWWWSubdomainHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace AppRunner
103} // namespace Aws
AssociateCustomDomainRequest & WithEnableWWWSubdomain(bool value)
AssociateCustomDomainRequest & WithDomainName(DomainNameT &&value)
AssociateCustomDomainRequest & WithServiceArn(ServiceArnT &&value)
AWS_APPRUNNER_API AssociateCustomDomainRequest()=default
AWS_APPRUNNER_API Aws::String SerializePayload() const override
AWS_APPRUNNER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String