AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ValidityType& GetType() const{ return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(const ValidityType& value) { m_typeHasBeenSet = true; m_type = value; }
57 inline void SetType(ValidityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
58 inline SignatureValidityPeriod& WithType(const ValidityType& value) { SetType(value); return *this;}
59 inline SignatureValidityPeriod& WithType(ValidityType&& value) { SetType(std::move(value)); return *this;}
61 private:
62
63 int m_value;
64 bool m_valueHasBeenSet = false;
65
66 ValidityType m_type;
67 bool m_typeHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace signer
72} // namespace Aws
SignatureValidityPeriod & WithType(ValidityType &&value)
SignatureValidityPeriod & WithType(const 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