AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
ValidationProofCode.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/ValidationProofMaterial.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Continuum {
21namespace Model {
22
31 public:
32 AWS_CONTINUUM_API ValidationProofCode() = default;
33 AWS_CONTINUUM_API ValidationProofCode(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<ValidationProofMaterial>& GetProofCode() const { return m_proofCode; }
42 inline bool ProofCodeHasBeenSet() const { return m_proofCodeHasBeenSet; }
43 template <typename ProofCodeT = Aws::Vector<ValidationProofMaterial>>
44 void SetProofCode(ProofCodeT&& value) {
45 m_proofCodeHasBeenSet = true;
46 m_proofCode = std::forward<ProofCodeT>(value);
47 }
48 template <typename ProofCodeT = Aws::Vector<ValidationProofMaterial>>
49 ValidationProofCode& WithProofCode(ProofCodeT&& value) {
50 SetProofCode(std::forward<ProofCodeT>(value));
51 return *this;
52 }
53 template <typename ProofCodeT = ValidationProofMaterial>
54 ValidationProofCode& AddProofCode(ProofCodeT&& value) {
55 m_proofCodeHasBeenSet = true;
56 m_proofCode.emplace_back(std::forward<ProofCodeT>(value));
57 return *this;
58 }
60 private:
62 bool m_proofCodeHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Continuum
67} // namespace Aws
ValidationProofCode & WithProofCode(ProofCodeT &&value)
AWS_CONTINUUM_API ValidationProofCode(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API ValidationProofCode()=default
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ValidationProofMaterial > & GetProofCode() const
ValidationProofCode & AddProofCode(ProofCodeT &&value)
AWS_CONTINUUM_API ValidationProofCode & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue