AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateRecoveryGroupRequest.h
1
6#pragma once
7#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
8#include <aws/route53-recovery-readiness/Route53RecoveryReadinessRequest.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 Route53RecoveryReadiness
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupRequest() = default;
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 "UpdateRecoveryGroup"; }
35
36 AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::Vector<Aws::String>& GetCells() const { return m_cells; }
45 inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; }
46 template<typename CellsT = Aws::Vector<Aws::String>>
47 void SetCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells = std::forward<CellsT>(value); }
48 template<typename CellsT = Aws::Vector<Aws::String>>
49 UpdateRecoveryGroupRequest& WithCells(CellsT&& value) { SetCells(std::forward<CellsT>(value)); return *this;}
50 template<typename CellsT = Aws::String>
51 UpdateRecoveryGroupRequest& AddCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells.emplace_back(std::forward<CellsT>(value)); return *this; }
53
55
58 inline const Aws::String& GetRecoveryGroupName() const { return m_recoveryGroupName; }
59 inline bool RecoveryGroupNameHasBeenSet() const { return m_recoveryGroupNameHasBeenSet; }
60 template<typename RecoveryGroupNameT = Aws::String>
61 void SetRecoveryGroupName(RecoveryGroupNameT&& value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName = std::forward<RecoveryGroupNameT>(value); }
62 template<typename RecoveryGroupNameT = Aws::String>
63 UpdateRecoveryGroupRequest& WithRecoveryGroupName(RecoveryGroupNameT&& value) { SetRecoveryGroupName(std::forward<RecoveryGroupNameT>(value)); return *this;}
65 private:
66
68 bool m_cellsHasBeenSet = false;
69
70 Aws::String m_recoveryGroupName;
71 bool m_recoveryGroupNameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Route53RecoveryReadiness
76} // 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