AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SignatureValidityPeriod.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/model/ValidityType.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 signer
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SIGNER_API SignatureValidityPeriod() = default;
37 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetValue() const { return m_value; }
45 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
46 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
47 inline SignatureValidityPeriod& WithValue(int value) { SetValue(value); return *this;}
49
51
54 inline ValidityType GetType() const { return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(ValidityType value) { m_typeHasBeenSet = true; m_type = value; }
57 inline SignatureValidityPeriod& WithType(ValidityType value) { SetType(value); return *this;}
59 private:
60
61 int m_value{0};
62 bool m_valueHasBeenSet = false;
63
65 bool m_typeHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace signer
70} // namespace Aws
AWS_SIGNER_API SignatureValidityPeriod()=default
SignatureValidityPeriod & WithType(ValidityType value)
AWS_SIGNER_API SignatureValidityPeriod(Aws::Utils::Json::JsonView jsonValue)
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SIGNER_API SignatureValidityPeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
SignatureValidityPeriod & WithValue(int value)
Aws::Utils::Json::JsonValue JsonValue