AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCellName(const Aws::String& value) { m_cellNameHasBeenSet = true; m_cellName = value; }
43 inline void SetCellName(Aws::String&& value) { m_cellNameHasBeenSet = true; m_cellName = std::move(value); }
44 inline void SetCellName(const char* value) { m_cellNameHasBeenSet = true; m_cellName.assign(value); }
45 inline UpdateCellRequest& WithCellName(const Aws::String& value) { SetCellName(value); return *this;}
46 inline UpdateCellRequest& WithCellName(Aws::String&& value) { SetCellName(std::move(value)); return *this;}
47 inline UpdateCellRequest& WithCellName(const char* value) { SetCellName(value); return *this;}
49
51
55 inline const Aws::Vector<Aws::String>& GetCells() const{ return m_cells; }
56 inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; }
57 inline void SetCells(const Aws::Vector<Aws::String>& value) { m_cellsHasBeenSet = true; m_cells = value; }
58 inline void SetCells(Aws::Vector<Aws::String>&& value) { m_cellsHasBeenSet = true; m_cells = std::move(value); }
59 inline UpdateCellRequest& WithCells(const Aws::Vector<Aws::String>& value) { SetCells(value); return *this;}
60 inline UpdateCellRequest& WithCells(Aws::Vector<Aws::String>&& value) { SetCells(std::move(value)); return *this;}
61 inline UpdateCellRequest& AddCells(const Aws::String& value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; }
62 inline UpdateCellRequest& AddCells(Aws::String&& value) { m_cellsHasBeenSet = true; m_cells.push_back(std::move(value)); return *this; }
63 inline UpdateCellRequest& AddCells(const char* value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; }
65 private:
66
67 Aws::String m_cellName;
68 bool m_cellNameHasBeenSet = false;
69
71 bool m_cellsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Route53RecoveryReadiness
76} // namespace Aws
UpdateCellRequest & WithCellName(const Aws::String &value)
UpdateCellRequest & WithCells(const Aws::Vector< Aws::String > &value)
void SetCells(const Aws::Vector< Aws::String > &value)
UpdateCellRequest & WithCells(Aws::Vector< Aws::String > &&value)
AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override
void SetCells(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCells() const
UpdateCellRequest & AddCells(const Aws::String &value)
UpdateCellRequest & WithCellName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateCellRequest & WithCellName(Aws::String &&value)
UpdateCellRequest & AddCells(Aws::String &&value)
UpdateCellRequest & AddCells(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API UpdateCellRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector