AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteReplicationConfigurationTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mgn/Mgn_EXPORTS.h>
8 #include <aws/mgn/MgnRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace mgn
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 "DeleteReplicationConfigurationTemplate"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetReplicationConfigurationTemplateID() const{ return m_replicationConfigurationTemplateID; }
40 
45  inline bool ReplicationConfigurationTemplateIDHasBeenSet() const { return m_replicationConfigurationTemplateIDHasBeenSet; }
46 
51  inline void SetReplicationConfigurationTemplateID(const Aws::String& value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID = value; }
52 
57  inline void SetReplicationConfigurationTemplateID(Aws::String&& value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID = std::move(value); }
58 
63  inline void SetReplicationConfigurationTemplateID(const char* value) { m_replicationConfigurationTemplateIDHasBeenSet = true; m_replicationConfigurationTemplateID.assign(value); }
64 
69  inline DeleteReplicationConfigurationTemplateRequest& WithReplicationConfigurationTemplateID(const Aws::String& value) { SetReplicationConfigurationTemplateID(value); return *this;}
70 
75  inline DeleteReplicationConfigurationTemplateRequest& WithReplicationConfigurationTemplateID(Aws::String&& value) { SetReplicationConfigurationTemplateID(std::move(value)); return *this;}
76 
81  inline DeleteReplicationConfigurationTemplateRequest& WithReplicationConfigurationTemplateID(const char* value) { SetReplicationConfigurationTemplateID(value); return *this;}
82 
83  private:
84 
85  Aws::String m_replicationConfigurationTemplateID;
86  bool m_replicationConfigurationTemplateIDHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace mgn
91 } // namespace Aws
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::SetReplicationConfigurationTemplateID
void SetReplicationConfigurationTemplateID(const Aws::String &value)
Definition: DeleteReplicationConfigurationTemplateRequest.h:51
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::SetReplicationConfigurationTemplateID
void SetReplicationConfigurationTemplateID(Aws::String &&value)
Definition: DeleteReplicationConfigurationTemplateRequest.h:57
AWS_MGN_API
#define AWS_MGN_API
Definition: Mgn_EXPORTS.h:28
Aws::mgn::MgnRequest
Definition: MgnRequest.h:17
MgnRequest.h
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::WithReplicationConfigurationTemplateID
DeleteReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(const char *value)
Definition: DeleteReplicationConfigurationTemplateRequest.h:81
Mgn_EXPORTS.h
AWSString.h
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::GetReplicationConfigurationTemplateID
const Aws::String & GetReplicationConfigurationTemplateID() const
Definition: DeleteReplicationConfigurationTemplateRequest.h:39
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::WithReplicationConfigurationTemplateID
DeleteReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(Aws::String &&value)
Definition: DeleteReplicationConfigurationTemplateRequest.h:75
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest
Definition: DeleteReplicationConfigurationTemplateRequest.h:22
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::DeleteReplicationConfigurationTemplateRequest
DeleteReplicationConfigurationTemplateRequest()
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteReplicationConfigurationTemplateRequest.h:30
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::WithReplicationConfigurationTemplateID
DeleteReplicationConfigurationTemplateRequest & WithReplicationConfigurationTemplateID(const Aws::String &value)
Definition: DeleteReplicationConfigurationTemplateRequest.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::SetReplicationConfigurationTemplateID
void SetReplicationConfigurationTemplateID(const char *value)
Definition: DeleteReplicationConfigurationTemplateRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::mgn::Model::DeleteReplicationConfigurationTemplateRequest::ReplicationConfigurationTemplateIDHasBeenSet
bool ReplicationConfigurationTemplateIDHasBeenSet() const
Definition: DeleteReplicationConfigurationTemplateRequest.h:45