AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCells(const Aws::Vector<Aws::String>& value) { m_cellsHasBeenSet = true; m_cells = value; }
47 inline void SetCells(Aws::Vector<Aws::String>&& value) { m_cellsHasBeenSet = true; m_cells = std::move(value); }
48 inline UpdateRecoveryGroupRequest& WithCells(const Aws::Vector<Aws::String>& value) { SetCells(value); return *this;}
49 inline UpdateRecoveryGroupRequest& WithCells(Aws::Vector<Aws::String>&& value) { SetCells(std::move(value)); return *this;}
50 inline UpdateRecoveryGroupRequest& AddCells(const Aws::String& value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; }
51 inline UpdateRecoveryGroupRequest& AddCells(Aws::String&& value) { m_cellsHasBeenSet = true; m_cells.push_back(std::move(value)); return *this; }
52 inline UpdateRecoveryGroupRequest& AddCells(const char* value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; }
54
56
59 inline const Aws::String& GetRecoveryGroupName() const{ return m_recoveryGroupName; }
60 inline bool RecoveryGroupNameHasBeenSet() const { return m_recoveryGroupNameHasBeenSet; }
61 inline void SetRecoveryGroupName(const Aws::String& value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName = value; }
62 inline void SetRecoveryGroupName(Aws::String&& value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName = std::move(value); }
63 inline void SetRecoveryGroupName(const char* value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName.assign(value); }
65 inline UpdateRecoveryGroupRequest& WithRecoveryGroupName(Aws::String&& value) { SetRecoveryGroupName(std::move(value)); return *this;}
66 inline UpdateRecoveryGroupRequest& WithRecoveryGroupName(const char* value) { SetRecoveryGroupName(value); return *this;}
68 private:
69
71 bool m_cellsHasBeenSet = false;
72
73 Aws::String m_recoveryGroupName;
74 bool m_recoveryGroupNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Route53RecoveryReadiness
79} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override
UpdateRecoveryGroupRequest & WithRecoveryGroupName(Aws::String &&value)
UpdateRecoveryGroupRequest & WithRecoveryGroupName(const Aws::String &value)
UpdateRecoveryGroupRequest & WithRecoveryGroupName(const char *value)
UpdateRecoveryGroupRequest & AddCells(const Aws::String &value)
UpdateRecoveryGroupRequest & WithCells(Aws::Vector< Aws::String > &&value)
UpdateRecoveryGroupRequest & WithCells(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector