AWS SDK for C++  1.9.157
AWS SDK for C++
DeleteDomainAssociationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Amplify
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteDomainAssociation"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetAppId() const{ return m_appId; }
43 
47  inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
48 
52  inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
53 
57  inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
58 
62  inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
63 
67  inline DeleteDomainAssociationRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
68 
72  inline DeleteDomainAssociationRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
73 
77  inline DeleteDomainAssociationRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
78 
79 
83  inline const Aws::String& GetDomainName() const{ return m_domainName; }
84 
88  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
89 
93  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
94 
98  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
99 
103  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
104 
108  inline DeleteDomainAssociationRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
109 
113  inline DeleteDomainAssociationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
114 
118  inline DeleteDomainAssociationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
119 
120  private:
121 
122  Aws::String m_appId;
123  bool m_appIdHasBeenSet;
124 
125  Aws::String m_domainName;
126  bool m_domainNameHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace Amplify
131 } // namespace Aws
Aws::Amplify::Model::DeleteDomainAssociationRequest::SetDomainName
void SetDomainName(const char *value)
Definition: DeleteDomainAssociationRequest.h:103
Amplify_EXPORTS.h
Aws::Amplify::Model::DeleteDomainAssociationRequest::WithAppId
DeleteDomainAssociationRequest & WithAppId(Aws::String &&value)
Definition: DeleteDomainAssociationRequest.h:72
Aws::Amplify::Model::DeleteDomainAssociationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDomainAssociationRequest.h:34
Aws::Amplify::Model::DeleteDomainAssociationRequest::SetAppId
void SetAppId(Aws::String &&value)
Definition: DeleteDomainAssociationRequest.h:57
Aws::Amplify::Model::DeleteDomainAssociationRequest
Definition: DeleteDomainAssociationRequest.h:26
Aws::Amplify::Model::DeleteDomainAssociationRequest::GetAppId
const Aws::String & GetAppId() const
Definition: DeleteDomainAssociationRequest.h:42
Aws::Amplify::Model::DeleteDomainAssociationRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: DeleteDomainAssociationRequest.h:83
Aws::Amplify::Model::DeleteDomainAssociationRequest::AppIdHasBeenSet
bool AppIdHasBeenSet() const
Definition: DeleteDomainAssociationRequest.h:47
Aws::Amplify::Model::DeleteDomainAssociationRequest::SetAppId
void SetAppId(const Aws::String &value)
Definition: DeleteDomainAssociationRequest.h:52
Aws::Amplify::Model::DeleteDomainAssociationRequest::WithDomainName
DeleteDomainAssociationRequest & WithDomainName(const char *value)
Definition: DeleteDomainAssociationRequest.h:118
Aws::Amplify::Model::DeleteDomainAssociationRequest::WithDomainName
DeleteDomainAssociationRequest & WithDomainName(const Aws::String &value)
Definition: DeleteDomainAssociationRequest.h:108
AmplifyRequest.h
Aws::Amplify::AmplifyRequest
Definition: AmplifyRequest.h:17
Aws::Amplify::Model::DeleteDomainAssociationRequest::SetAppId
void SetAppId(const char *value)
Definition: DeleteDomainAssociationRequest.h:62
Aws::Amplify::Model::DeleteDomainAssociationRequest::DeleteDomainAssociationRequest
DeleteDomainAssociationRequest()
Aws::Amplify::Model::DeleteDomainAssociationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Amplify::Model::DeleteDomainAssociationRequest::WithAppId
DeleteDomainAssociationRequest & WithAppId(const Aws::String &value)
Definition: DeleteDomainAssociationRequest.h:67
AWSString.h
Aws::Amplify::Model::DeleteDomainAssociationRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DeleteDomainAssociationRequest.h:98
Aws::Amplify::Model::DeleteDomainAssociationRequest::WithDomainName
DeleteDomainAssociationRequest & WithDomainName(Aws::String &&value)
Definition: DeleteDomainAssociationRequest.h:113
Aws::Amplify::Model::DeleteDomainAssociationRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DeleteDomainAssociationRequest.h:93
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::DeleteDomainAssociationRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DeleteDomainAssociationRequest.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::DeleteDomainAssociationRequest::WithAppId
DeleteDomainAssociationRequest & WithAppId(const char *value)
Definition: DeleteDomainAssociationRequest.h:77
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28