AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MPA {
20namespace Model {
21
29 public:
30 AWS_MPA_API ApprovalStrategy() = default;
34
36
40 inline const MofNApprovalStrategy& GetMofN() const { return m_mofN; }
41 inline bool MofNHasBeenSet() const { return m_mofNHasBeenSet; }
42 template <typename MofNT = MofNApprovalStrategy>
43 void SetMofN(MofNT&& value) {
44 m_mofNHasBeenSet = true;
45 m_mofN = std::forward<MofNT>(value);
46 }
47 template <typename MofNT = MofNApprovalStrategy>
48 ApprovalStrategy& WithMofN(MofNT&& value) {
49 SetMofN(std::forward<MofNT>(value));
50 return *this;
51 }
53 private:
55 bool m_mofNHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace MPA
60} // 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