AWS SDK for C++

AWS SDK for C++ Version 1.11.862

Loading...
Searching...
No Matches
EnterpriseSupportTimePeriod.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Billing {
20namespace Model {
21
28 public:
29 AWS_BILLING_API EnterpriseSupportTimePeriod() = default;
32 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::Utils::DateTime& GetBeginDate() const { return m_beginDate; }
39 inline bool BeginDateHasBeenSet() const { return m_beginDateHasBeenSet; }
40 template <typename BeginDateT = Aws::Utils::DateTime>
41 void SetBeginDate(BeginDateT&& value) {
42 m_beginDateHasBeenSet = true;
43 m_beginDate = std::forward<BeginDateT>(value);
44 }
45 template <typename BeginDateT = Aws::Utils::DateTime>
47 SetBeginDate(std::forward<BeginDateT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
57 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
58 template <typename EndDateT = Aws::Utils::DateTime>
59 void SetEndDate(EndDateT&& value) {
60 m_endDateHasBeenSet = true;
61 m_endDate = std::forward<EndDateT>(value);
62 }
63 template <typename EndDateT = Aws::Utils::DateTime>
65 SetEndDate(std::forward<EndDateT>(value));
66 return *this;
67 }
69 private:
70 Aws::Utils::DateTime m_beginDate{};
71
72 Aws::Utils::DateTime m_endDate{};
73 bool m_beginDateHasBeenSet = false;
74 bool m_endDateHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Billing
79} // namespace Aws
AWS_BILLING_API EnterpriseSupportTimePeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
EnterpriseSupportTimePeriod & WithEndDate(EndDateT &&value)
AWS_BILLING_API EnterpriseSupportTimePeriod(Aws::Utils::Json::JsonView jsonValue)
EnterpriseSupportTimePeriod & WithBeginDate(BeginDateT &&value)
AWS_BILLING_API EnterpriseSupportTimePeriod()=default
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue