AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
UpdateRecoveryGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53-recovery-readiness/Route53RecoveryReadinessRequest.h>
10#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Route53RecoveryReadiness {
16namespace Model {
17
24 public:
25 AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupRequest() = default;
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 "UpdateRecoveryGroup"; }
32
33 AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::Vector<Aws::String>& GetCells() const { return m_cells; }
41 inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; }
42 template <typename CellsT = Aws::Vector<Aws::String>>
43 void SetCells(CellsT&& value) {
44 m_cellsHasBeenSet = true;
45 m_cells = std::forward<CellsT>(value);
46 }
47 template <typename CellsT = Aws::Vector<Aws::String>>
49 SetCells(std::forward<CellsT>(value));
50 return *this;
51 }
52 template <typename CellsT = Aws::String>
54 m_cellsHasBeenSet = true;
55 m_cells.emplace_back(std::forward<CellsT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetRecoveryGroupName() const { return m_recoveryGroupName; }
65 inline bool RecoveryGroupNameHasBeenSet() const { return m_recoveryGroupNameHasBeenSet; }
66 template <typename RecoveryGroupNameT = Aws::String>
67 void SetRecoveryGroupName(RecoveryGroupNameT&& value) {
68 m_recoveryGroupNameHasBeenSet = true;
69 m_recoveryGroupName = std::forward<RecoveryGroupNameT>(value);
70 }
71 template <typename RecoveryGroupNameT = Aws::String>
73 SetRecoveryGroupName(std::forward<RecoveryGroupNameT>(value));
74 return *this;
75 }
77 private:
79
80 Aws::String m_recoveryGroupName;
81 bool m_cellsHasBeenSet = false;
82 bool m_recoveryGroupNameHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Route53RecoveryReadiness
87} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupRequest()=default
AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override
UpdateRecoveryGroupRequest & WithRecoveryGroupName(RecoveryGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector