7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/model/ConfigurationId.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
47 template<
typename CurrentT = ConfigurationId>
48 void SetCurrent(CurrentT&& value) { m_currentHasBeenSet =
true; m_current = std::forward<CurrentT>(value); }
49 template<
typename CurrentT = ConfigurationId>
59 template<
typename HistoryT = Aws::Vector<ConfigurationId>>
60 void SetHistory(HistoryT&& value) { m_historyHasBeenSet =
true; m_history = std::forward<HistoryT>(value); }
61 template<
typename HistoryT = Aws::Vector<ConfigurationId>>
63 template<
typename HistoryT = ConfigurationId>
64 Configurations&
AddHistory(HistoryT&& value) { m_historyHasBeenSet =
true; m_history.emplace_back(std::forward<HistoryT>(value));
return *
this; }
73 template<
typename PendingT = ConfigurationId>
74 void SetPending(PendingT&& value) { m_pendingHasBeenSet =
true; m_pending = std::forward<PendingT>(value); }
75 template<
typename PendingT = ConfigurationId>
81 bool m_currentHasBeenSet =
false;
84 bool m_historyHasBeenSet =
false;
87 bool m_pendingHasBeenSet =
false;
AWS_MQ_API Configurations(Aws::Utils::Json::JsonView jsonValue)
const ConfigurationId & GetCurrent() const
AWS_MQ_API Configurations & operator=(Aws::Utils::Json::JsonView jsonValue)
const ConfigurationId & GetPending() const
const Aws::Vector< ConfigurationId > & GetHistory() const
void SetHistory(HistoryT &&value)
bool HistoryHasBeenSet() const
Configurations & WithCurrent(CurrentT &&value)
Configurations & WithHistory(HistoryT &&value)
void SetCurrent(CurrentT &&value)
AWS_MQ_API Configurations()=default
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
bool CurrentHasBeenSet() const
void SetPending(PendingT &&value)
Configurations & WithPending(PendingT &&value)
bool PendingHasBeenSet() const
Configurations & AddHistory(HistoryT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue