AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FreeTrialInfo.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/inspector2/model/FreeTrialStatus.h>
10#include <aws/inspector2/model/FreeTrialType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Inspector2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_INSPECTOR2_API FreeTrialInfo();
38 AWS_INSPECTOR2_API FreeTrialInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR2_API FreeTrialInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Utils::DateTime& GetEnd() const{ return m_end; }
49 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
50 inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; }
51 inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
52 inline FreeTrialInfo& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;}
53 inline FreeTrialInfo& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(std::move(value)); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetStart() const{ return m_start; }
62 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
63 inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
64 inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
65 inline FreeTrialInfo& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
66 inline FreeTrialInfo& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;}
68
70
73 inline const FreeTrialStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const FreeTrialStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(FreeTrialStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline FreeTrialInfo& WithStatus(const FreeTrialStatus& value) { SetStatus(value); return *this;}
78 inline FreeTrialInfo& WithStatus(FreeTrialStatus&& value) { SetStatus(std::move(value)); return *this;}
80
82
85 inline const FreeTrialType& GetType() const{ return m_type; }
86 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 inline void SetType(const FreeTrialType& value) { m_typeHasBeenSet = true; m_type = value; }
88 inline void SetType(FreeTrialType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
89 inline FreeTrialInfo& WithType(const FreeTrialType& value) { SetType(value); return *this;}
90 inline FreeTrialInfo& WithType(FreeTrialType&& value) { SetType(std::move(value)); return *this;}
92 private:
93
95 bool m_endHasBeenSet = false;
96
98 bool m_startHasBeenSet = false;
99
100 FreeTrialStatus m_status;
101 bool m_statusHasBeenSet = false;
102
103 FreeTrialType m_type;
104 bool m_typeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Inspector2
109} // namespace Aws
void SetStart(const Aws::Utils::DateTime &value)
void SetType(const FreeTrialType &value)
const Aws::Utils::DateTime & GetEnd() const
void SetStatus(FreeTrialStatus &&value)
void SetEnd(Aws::Utils::DateTime &&value)
AWS_INSPECTOR2_API FreeTrialInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
FreeTrialInfo & WithEnd(Aws::Utils::DateTime &&value)
FreeTrialInfo & WithStatus(const FreeTrialStatus &value)
void SetType(FreeTrialType &&value)
FreeTrialInfo & WithStart(Aws::Utils::DateTime &&value)
void SetStatus(const FreeTrialStatus &value)
FreeTrialInfo & WithType(FreeTrialType &&value)
FreeTrialInfo & WithEnd(const Aws::Utils::DateTime &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
FreeTrialInfo & WithStart(const Aws::Utils::DateTime &value)
const FreeTrialType & GetType() const
AWS_INSPECTOR2_API FreeTrialInfo(Aws::Utils::Json::JsonView jsonValue)
FreeTrialInfo & WithType(const FreeTrialType &value)
void SetStart(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStart() const
FreeTrialInfo & WithStatus(FreeTrialStatus &&value)
void SetEnd(const Aws::Utils::DateTime &value)
const FreeTrialStatus & GetStatus() const
Aws::Utils::Json::JsonValue JsonValue