AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Configurations.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/model/ConfigurationId.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MQ
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MQ_API Configurations();
39
40
42
45 inline const ConfigurationId& GetCurrent() const{ return m_current; }
46 inline bool CurrentHasBeenSet() const { return m_currentHasBeenSet; }
47 inline void SetCurrent(const ConfigurationId& value) { m_currentHasBeenSet = true; m_current = value; }
48 inline void SetCurrent(ConfigurationId&& value) { m_currentHasBeenSet = true; m_current = std::move(value); }
49 inline Configurations& WithCurrent(const ConfigurationId& value) { SetCurrent(value); return *this;}
50 inline Configurations& WithCurrent(ConfigurationId&& value) { SetCurrent(std::move(value)); return *this;}
52
54
57 inline const Aws::Vector<ConfigurationId>& GetHistory() const{ return m_history; }
58 inline bool HistoryHasBeenSet() const { return m_historyHasBeenSet; }
59 inline void SetHistory(const Aws::Vector<ConfigurationId>& value) { m_historyHasBeenSet = true; m_history = value; }
60 inline void SetHistory(Aws::Vector<ConfigurationId>&& value) { m_historyHasBeenSet = true; m_history = std::move(value); }
61 inline Configurations& WithHistory(const Aws::Vector<ConfigurationId>& value) { SetHistory(value); return *this;}
62 inline Configurations& WithHistory(Aws::Vector<ConfigurationId>&& value) { SetHistory(std::move(value)); return *this;}
63 inline Configurations& AddHistory(const ConfigurationId& value) { m_historyHasBeenSet = true; m_history.push_back(value); return *this; }
64 inline Configurations& AddHistory(ConfigurationId&& value) { m_historyHasBeenSet = true; m_history.push_back(std::move(value)); return *this; }
66
68
71 inline const ConfigurationId& GetPending() const{ return m_pending; }
72 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
73 inline void SetPending(const ConfigurationId& value) { m_pendingHasBeenSet = true; m_pending = value; }
74 inline void SetPending(ConfigurationId&& value) { m_pendingHasBeenSet = true; m_pending = std::move(value); }
75 inline Configurations& WithPending(const ConfigurationId& value) { SetPending(value); return *this;}
76 inline Configurations& WithPending(ConfigurationId&& value) { SetPending(std::move(value)); return *this;}
78 private:
79
80 ConfigurationId m_current;
81 bool m_currentHasBeenSet = false;
82
84 bool m_historyHasBeenSet = false;
85
86 ConfigurationId m_pending;
87 bool m_pendingHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MQ
92} // namespace Aws
Configurations & WithPending(ConfigurationId &&value)
Configurations & WithPending(const ConfigurationId &value)
AWS_MQ_API Configurations(Aws::Utils::Json::JsonView jsonValue)
void SetPending(const ConfigurationId &value)
void SetPending(ConfigurationId &&value)
const ConfigurationId & GetCurrent() const
AWS_MQ_API Configurations & operator=(Aws::Utils::Json::JsonView jsonValue)
const ConfigurationId & GetPending() const
const Aws::Vector< ConfigurationId > & GetHistory() const
Configurations & AddHistory(const ConfigurationId &value)
void SetHistory(const Aws::Vector< ConfigurationId > &value)
Configurations & WithCurrent(ConfigurationId &&value)
Configurations & WithHistory(const Aws::Vector< ConfigurationId > &value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHistory(Aws::Vector< ConfigurationId > &&value)
void SetCurrent(const ConfigurationId &value)
void SetCurrent(ConfigurationId &&value)
Configurations & WithHistory(Aws::Vector< ConfigurationId > &&value)
Configurations & WithCurrent(const ConfigurationId &value)
Configurations & AddHistory(ConfigurationId &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue