AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCellRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53RecoveryReadiness
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROUTE53RECOVERYREADINESS_API UpdateCellRequest() = 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 "UpdateCell"; }
32
33 AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetCellName() const { return m_cellName; }
41 inline bool CellNameHasBeenSet() const { return m_cellNameHasBeenSet; }
42 template<typename CellNameT = Aws::String>
43 void SetCellName(CellNameT&& value) { m_cellNameHasBeenSet = true; m_cellName = std::forward<CellNameT>(value); }
44 template<typename CellNameT = Aws::String>
45 UpdateCellRequest& WithCellName(CellNameT&& value) { SetCellName(std::forward<CellNameT>(value)); return *this;}
47
49
53 inline const Aws::Vector<Aws::String>& GetCells() const { return m_cells; }
54 inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; }
55 template<typename CellsT = Aws::Vector<Aws::String>>
56 void SetCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells = std::forward<CellsT>(value); }
57 template<typename CellsT = Aws::Vector<Aws::String>>
58 UpdateCellRequest& WithCells(CellsT&& value) { SetCells(std::forward<CellsT>(value)); return *this;}
59 template<typename CellsT = Aws::String>
60 UpdateCellRequest& AddCells(CellsT&& value) { m_cellsHasBeenSet = true; m_cells.emplace_back(std::forward<CellsT>(value)); return *this; }
62 private:
63
64 Aws::String m_cellName;
65 bool m_cellNameHasBeenSet = false;
66
68 bool m_cellsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Route53RecoveryReadiness
73} // namespace Aws
UpdateCellRequest & WithCellName(CellNameT &&value)
AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetCells() const
AWS_ROUTE53RECOVERYREADINESS_API UpdateCellRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector