AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TerminateRecoveryInstancesRequest.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace drs
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "TerminateRecoveryInstances"; }
32
33 AWS_DRS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetRecoveryInstanceIDs() const{ return m_recoveryInstanceIDs; }
41 inline bool RecoveryInstanceIDsHasBeenSet() const { return m_recoveryInstanceIDsHasBeenSet; }
42 inline void SetRecoveryInstanceIDs(const Aws::Vector<Aws::String>& value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs = value; }
43 inline void SetRecoveryInstanceIDs(Aws::Vector<Aws::String>&& value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs = std::move(value); }
46 inline TerminateRecoveryInstancesRequest& AddRecoveryInstanceIDs(const Aws::String& value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs.push_back(value); return *this; }
47 inline TerminateRecoveryInstancesRequest& AddRecoveryInstanceIDs(Aws::String&& value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs.push_back(std::move(value)); return *this; }
48 inline TerminateRecoveryInstancesRequest& AddRecoveryInstanceIDs(const char* value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs.push_back(value); return *this; }
50 private:
51
52 Aws::Vector<Aws::String> m_recoveryInstanceIDs;
53 bool m_recoveryInstanceIDsHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace drs
58} // namespace Aws
TerminateRecoveryInstancesRequest & AddRecoveryInstanceIDs(Aws::String &&value)
void SetRecoveryInstanceIDs(const Aws::Vector< Aws::String > &value)
TerminateRecoveryInstancesRequest & AddRecoveryInstanceIDs(const char *value)
TerminateRecoveryInstancesRequest & WithRecoveryInstanceIDs(const Aws::Vector< Aws::String > &value)
TerminateRecoveryInstancesRequest & AddRecoveryInstanceIDs(const Aws::String &value)
AWS_DRS_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetRecoveryInstanceIDs() const
TerminateRecoveryInstancesRequest & WithRecoveryInstanceIDs(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector