AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteUseCaseRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
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 "DeleteUseCase"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 
45  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 
51  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 
57  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
58 
63  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 
69  inline DeleteUseCaseRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline DeleteUseCaseRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline DeleteUseCaseRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetIntegrationAssociationId() const{ return m_integrationAssociationId; }
88 
92  inline bool IntegrationAssociationIdHasBeenSet() const { return m_integrationAssociationIdHasBeenSet; }
93 
97  inline void SetIntegrationAssociationId(const Aws::String& value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId = value; }
98 
102  inline void SetIntegrationAssociationId(Aws::String&& value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId = std::move(value); }
103 
107  inline void SetIntegrationAssociationId(const char* value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId.assign(value); }
108 
112  inline DeleteUseCaseRequest& WithIntegrationAssociationId(const Aws::String& value) { SetIntegrationAssociationId(value); return *this;}
113 
117  inline DeleteUseCaseRequest& WithIntegrationAssociationId(Aws::String&& value) { SetIntegrationAssociationId(std::move(value)); return *this;}
118 
122  inline DeleteUseCaseRequest& WithIntegrationAssociationId(const char* value) { SetIntegrationAssociationId(value); return *this;}
123 
124 
128  inline const Aws::String& GetUseCaseId() const{ return m_useCaseId; }
129 
133  inline bool UseCaseIdHasBeenSet() const { return m_useCaseIdHasBeenSet; }
134 
138  inline void SetUseCaseId(const Aws::String& value) { m_useCaseIdHasBeenSet = true; m_useCaseId = value; }
139 
143  inline void SetUseCaseId(Aws::String&& value) { m_useCaseIdHasBeenSet = true; m_useCaseId = std::move(value); }
144 
148  inline void SetUseCaseId(const char* value) { m_useCaseIdHasBeenSet = true; m_useCaseId.assign(value); }
149 
153  inline DeleteUseCaseRequest& WithUseCaseId(const Aws::String& value) { SetUseCaseId(value); return *this;}
154 
158  inline DeleteUseCaseRequest& WithUseCaseId(Aws::String&& value) { SetUseCaseId(std::move(value)); return *this;}
159 
163  inline DeleteUseCaseRequest& WithUseCaseId(const char* value) { SetUseCaseId(value); return *this;}
164 
165  private:
166 
167  Aws::String m_instanceId;
168  bool m_instanceIdHasBeenSet;
169 
170  Aws::String m_integrationAssociationId;
171  bool m_integrationAssociationIdHasBeenSet;
172 
173  Aws::String m_useCaseId;
174  bool m_useCaseIdHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace Connect
179 } // namespace Aws
Aws::Connect::Model::DeleteUseCaseRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DeleteUseCaseRequest.h:51
Aws::Connect::Model::DeleteUseCaseRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DeleteUseCaseRequest.h:57
Aws::Connect::Model::DeleteUseCaseRequest::WithUseCaseId
DeleteUseCaseRequest & WithUseCaseId(const char *value)
Definition: DeleteUseCaseRequest.h:163
Aws::Connect::Model::DeleteUseCaseRequest::WithIntegrationAssociationId
DeleteUseCaseRequest & WithIntegrationAssociationId(Aws::String &&value)
Definition: DeleteUseCaseRequest.h:117
Aws::Connect::Model::DeleteUseCaseRequest::WithIntegrationAssociationId
DeleteUseCaseRequest & WithIntegrationAssociationId(const char *value)
Definition: DeleteUseCaseRequest.h:122
Aws::Connect::Model::DeleteUseCaseRequest::SetIntegrationAssociationId
void SetIntegrationAssociationId(const Aws::String &value)
Definition: DeleteUseCaseRequest.h:97
Aws::Connect::Model::DeleteUseCaseRequest::DeleteUseCaseRequest
DeleteUseCaseRequest()
Aws::Connect::Model::DeleteUseCaseRequest::GetIntegrationAssociationId
const Aws::String & GetIntegrationAssociationId() const
Definition: DeleteUseCaseRequest.h:87
Aws::Connect::Model::DeleteUseCaseRequest::SetIntegrationAssociationId
void SetIntegrationAssociationId(const char *value)
Definition: DeleteUseCaseRequest.h:107
Aws::Connect::Model::DeleteUseCaseRequest::WithInstanceId
DeleteUseCaseRequest & WithInstanceId(const Aws::String &value)
Definition: DeleteUseCaseRequest.h:69
Aws::Connect::Model::DeleteUseCaseRequest::SetUseCaseId
void SetUseCaseId(Aws::String &&value)
Definition: DeleteUseCaseRequest.h:143
Aws::Connect::Model::DeleteUseCaseRequest::IntegrationAssociationIdHasBeenSet
bool IntegrationAssociationIdHasBeenSet() const
Definition: DeleteUseCaseRequest.h:92
Aws::Connect::Model::DeleteUseCaseRequest::WithInstanceId
DeleteUseCaseRequest & WithInstanceId(Aws::String &&value)
Definition: DeleteUseCaseRequest.h:75
Aws::Connect::Model::DeleteUseCaseRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DeleteUseCaseRequest.h:39
Aws::Connect::Model::DeleteUseCaseRequest
Definition: DeleteUseCaseRequest.h:22
Aws::Connect::Model::DeleteUseCaseRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::DeleteUseCaseRequest::WithInstanceId
DeleteUseCaseRequest & WithInstanceId(const char *value)
Definition: DeleteUseCaseRequest.h:81
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
AWSString.h
Aws::Connect::Model::DeleteUseCaseRequest::WithUseCaseId
DeleteUseCaseRequest & WithUseCaseId(const Aws::String &value)
Definition: DeleteUseCaseRequest.h:153
Aws::Connect::Model::DeleteUseCaseRequest::GetUseCaseId
const Aws::String & GetUseCaseId() const
Definition: DeleteUseCaseRequest.h:128
Aws::Connect::Model::DeleteUseCaseRequest::WithUseCaseId
DeleteUseCaseRequest & WithUseCaseId(Aws::String &&value)
Definition: DeleteUseCaseRequest.h:158
Aws::Connect::Model::DeleteUseCaseRequest::SetUseCaseId
void SetUseCaseId(const char *value)
Definition: DeleteUseCaseRequest.h:148
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::DeleteUseCaseRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DeleteUseCaseRequest.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::DeleteUseCaseRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DeleteUseCaseRequest.h:63
Aws::Connect::Model::DeleteUseCaseRequest::SetUseCaseId
void SetUseCaseId(const Aws::String &value)
Definition: DeleteUseCaseRequest.h:138
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::DeleteUseCaseRequest::SetIntegrationAssociationId
void SetIntegrationAssociationId(Aws::String &&value)
Definition: DeleteUseCaseRequest.h:102
Aws::Connect::Model::DeleteUseCaseRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUseCaseRequest.h:30
Aws::Connect::Model::DeleteUseCaseRequest::UseCaseIdHasBeenSet
bool UseCaseIdHasBeenSet() const
Definition: DeleteUseCaseRequest.h:133
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::DeleteUseCaseRequest::WithIntegrationAssociationId
DeleteUseCaseRequest & WithIntegrationAssociationId(const Aws::String &value)
Definition: DeleteUseCaseRequest.h:112