AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ApprovalStrategy.h
1
6#pragma once
7#include <aws/mpa/MPA_EXPORTS.h>
8#include <aws/mpa/model/MofNApprovalStrategy.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MPA
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MPA_API ApprovalStrategy() = default;
39
40
42
46 inline const MofNApprovalStrategy& GetMofN() const { return m_mofN; }
47 inline bool MofNHasBeenSet() const { return m_mofNHasBeenSet; }
48 template<typename MofNT = MofNApprovalStrategy>
49 void SetMofN(MofNT&& value) { m_mofNHasBeenSet = true; m_mofN = std::forward<MofNT>(value); }
50 template<typename MofNT = MofNApprovalStrategy>
51 ApprovalStrategy& WithMofN(MofNT&& value) { SetMofN(std::forward<MofNT>(value)); return *this;}
53 private:
54
56 bool m_mofNHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace MPA
61} // namespace Aws
AWS_MPA_API ApprovalStrategy(Aws::Utils::Json::JsonView jsonValue)
AWS_MPA_API Aws::Utils::Json::JsonValue Jsonize() const
ApprovalStrategy & WithMofN(MofNT &&value)
AWS_MPA_API ApprovalStrategy()=default
const MofNApprovalStrategy & GetMofN() const
AWS_MPA_API ApprovalStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue