AWS SDK for C++  1.9.40
AWS SDK for C++
AssociateDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkLink
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 "AssociateDomain"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
39 
43  inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
44 
48  inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
49 
53  inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
54 
58  inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
59 
63  inline AssociateDomainRequest& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
64 
68  inline AssociateDomainRequest& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
69 
73  inline AssociateDomainRequest& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
74 
75 
79  inline const Aws::String& GetDomainName() const{ return m_domainName; }
80 
84  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
85 
89  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
90 
94  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
95 
99  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
100 
104  inline AssociateDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
105 
109  inline AssociateDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
110 
114  inline AssociateDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
115 
116 
120  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
121 
125  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
126 
130  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
131 
135  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
136 
140  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
141 
145  inline AssociateDomainRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
146 
150  inline AssociateDomainRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
151 
155  inline AssociateDomainRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
156 
157 
162  inline const Aws::String& GetAcmCertificateArn() const{ return m_acmCertificateArn; }
163 
168  inline bool AcmCertificateArnHasBeenSet() const { return m_acmCertificateArnHasBeenSet; }
169 
174  inline void SetAcmCertificateArn(const Aws::String& value) { m_acmCertificateArnHasBeenSet = true; m_acmCertificateArn = value; }
175 
180  inline void SetAcmCertificateArn(Aws::String&& value) { m_acmCertificateArnHasBeenSet = true; m_acmCertificateArn = std::move(value); }
181 
186  inline void SetAcmCertificateArn(const char* value) { m_acmCertificateArnHasBeenSet = true; m_acmCertificateArn.assign(value); }
187 
192  inline AssociateDomainRequest& WithAcmCertificateArn(const Aws::String& value) { SetAcmCertificateArn(value); return *this;}
193 
198  inline AssociateDomainRequest& WithAcmCertificateArn(Aws::String&& value) { SetAcmCertificateArn(std::move(value)); return *this;}
199 
204  inline AssociateDomainRequest& WithAcmCertificateArn(const char* value) { SetAcmCertificateArn(value); return *this;}
205 
206  private:
207 
208  Aws::String m_fleetArn;
209  bool m_fleetArnHasBeenSet;
210 
211  Aws::String m_domainName;
212  bool m_domainNameHasBeenSet;
213 
214  Aws::String m_displayName;
215  bool m_displayNameHasBeenSet;
216 
217  Aws::String m_acmCertificateArn;
218  bool m_acmCertificateArnHasBeenSet;
219  };
220 
221 } // namespace Model
222 } // namespace WorkLink
223 } // namespace Aws
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97