AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace signer {
20namespace Model {
21
28 public:
29 AWS_SIGNER_API SignatureValidityPeriod() = default;
32 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline int GetValue() const { return m_value; }
39 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
40 inline void SetValue(int value) {
41 m_valueHasBeenSet = true;
42 m_value = value;
43 }
45 SetValue(value);
46 return *this;
47 }
49
51
54 inline ValidityType GetType() const { return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(ValidityType value) {
57 m_typeHasBeenSet = true;
58 m_type = value;
59 }
61 SetType(value);
62 return *this;
63 }
65 private:
66 int m_value{0};
67
69 bool m_valueHasBeenSet = false;
70 bool m_typeHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace signer
75} // 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