AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDomainContactRequest.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53domains/model/ContactDetail.h>
11#include <aws/route53domains/model/Consent.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Route53Domains
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_ROUTE53DOMAINS_API UpdateDomainContactRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainContact"; }
37
38 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
39
40 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
42
44
47 inline const Aws::String& GetDomainName() const{ return m_domainName; }
48 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
50 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
51 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
52 inline UpdateDomainContactRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
53 inline UpdateDomainContactRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
54 inline UpdateDomainContactRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
56
58
61 inline const ContactDetail& GetAdminContact() const{ return m_adminContact; }
62 inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; }
63 inline void SetAdminContact(const ContactDetail& value) { m_adminContactHasBeenSet = true; m_adminContact = value; }
64 inline void SetAdminContact(ContactDetail&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::move(value); }
65 inline UpdateDomainContactRequest& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;}
66 inline UpdateDomainContactRequest& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;}
68
70
73 inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; }
74 inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; }
75 inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContactHasBeenSet = true; m_registrantContact = value; }
76 inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::move(value); }
78 inline UpdateDomainContactRequest& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;}
80
82
85 inline const ContactDetail& GetTechContact() const{ return m_techContact; }
86 inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; }
87 inline void SetTechContact(const ContactDetail& value) { m_techContactHasBeenSet = true; m_techContact = value; }
88 inline void SetTechContact(ContactDetail&& value) { m_techContactHasBeenSet = true; m_techContact = std::move(value); }
89 inline UpdateDomainContactRequest& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;}
90 inline UpdateDomainContactRequest& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;}
92
94
98 inline const Consent& GetConsent() const{ return m_consent; }
99 inline bool ConsentHasBeenSet() const { return m_consentHasBeenSet; }
100 inline void SetConsent(const Consent& value) { m_consentHasBeenSet = true; m_consent = value; }
101 inline void SetConsent(Consent&& value) { m_consentHasBeenSet = true; m_consent = std::move(value); }
102 inline UpdateDomainContactRequest& WithConsent(const Consent& value) { SetConsent(value); return *this;}
103 inline UpdateDomainContactRequest& WithConsent(Consent&& value) { SetConsent(std::move(value)); return *this;}
105
107
110 inline const ContactDetail& GetBillingContact() const{ return m_billingContact; }
111 inline bool BillingContactHasBeenSet() const { return m_billingContactHasBeenSet; }
112 inline void SetBillingContact(const ContactDetail& value) { m_billingContactHasBeenSet = true; m_billingContact = value; }
113 inline void SetBillingContact(ContactDetail&& value) { m_billingContactHasBeenSet = true; m_billingContact = std::move(value); }
115 inline UpdateDomainContactRequest& WithBillingContact(ContactDetail&& value) { SetBillingContact(std::move(value)); return *this;}
117 private:
118
119 Aws::String m_domainName;
120 bool m_domainNameHasBeenSet = false;
121
122 ContactDetail m_adminContact;
123 bool m_adminContactHasBeenSet = false;
124
125 ContactDetail m_registrantContact;
126 bool m_registrantContactHasBeenSet = false;
127
128 ContactDetail m_techContact;
129 bool m_techContactHasBeenSet = false;
130
131 Consent m_consent;
132 bool m_consentHasBeenSet = false;
133
134 ContactDetail m_billingContact;
135 bool m_billingContactHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Route53Domains
140} // namespace Aws
UpdateDomainContactRequest & WithDomainName(Aws::String &&value)
UpdateDomainContactRequest & WithAdminContact(ContactDetail &&value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDomainContactRequest & WithBillingContact(ContactDetail &&value)
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
UpdateDomainContactRequest & WithAdminContact(const ContactDetail &value)
UpdateDomainContactRequest & WithRegistrantContact(ContactDetail &&value)
UpdateDomainContactRequest & WithTechContact(ContactDetail &&value)
UpdateDomainContactRequest & WithDomainName(const Aws::String &value)
UpdateDomainContactRequest & WithTechContact(const ContactDetail &value)
UpdateDomainContactRequest & WithRegistrantContact(const ContactDetail &value)
UpdateDomainContactRequest & WithBillingContact(const ContactDetail &value)
UpdateDomainContactRequest & WithConsent(Consent &&value)
UpdateDomainContactRequest & WithDomainName(const char *value)
UpdateDomainContactRequest & WithConsent(const Consent &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String