AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
RevokeServicePeriodHandshakeDetail.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
10#include <aws/partnercentral-channel/model/ServicePeriodType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralChannel {
22namespace Model {
23
31 public:
32 AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodHandshakeDetail() = default;
33 AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodHandshakeDetail(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetNote() const { return m_note; }
42 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
43 template <typename NoteT = Aws::String>
44 void SetNote(NoteT&& value) {
45 m_noteHasBeenSet = true;
46 m_note = std::forward<NoteT>(value);
47 }
48 template <typename NoteT = Aws::String>
50 SetNote(std::forward<NoteT>(value));
51 return *this;
52 }
54
56
59 inline ServicePeriodType GetServicePeriodType() const { return m_servicePeriodType; }
60 inline bool ServicePeriodTypeHasBeenSet() const { return m_servicePeriodTypeHasBeenSet; }
62 m_servicePeriodTypeHasBeenSet = true;
63 m_servicePeriodType = value;
64 }
67 return *this;
68 }
70
72
75 inline const Aws::String& GetMinimumNoticeDays() const { return m_minimumNoticeDays; }
76 inline bool MinimumNoticeDaysHasBeenSet() const { return m_minimumNoticeDaysHasBeenSet; }
77 template <typename MinimumNoticeDaysT = Aws::String>
78 void SetMinimumNoticeDays(MinimumNoticeDaysT&& value) {
79 m_minimumNoticeDaysHasBeenSet = true;
80 m_minimumNoticeDays = std::forward<MinimumNoticeDaysT>(value);
81 }
82 template <typename MinimumNoticeDaysT = Aws::String>
84 SetMinimumNoticeDays(std::forward<MinimumNoticeDaysT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
94 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
95 template <typename StartDateT = Aws::Utils::DateTime>
96 void SetStartDate(StartDateT&& value) {
97 m_startDateHasBeenSet = true;
98 m_startDate = std::forward<StartDateT>(value);
99 }
100 template <typename StartDateT = Aws::Utils::DateTime>
102 SetStartDate(std::forward<StartDateT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
112 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
113 template <typename EndDateT = Aws::Utils::DateTime>
114 void SetEndDate(EndDateT&& value) {
115 m_endDateHasBeenSet = true;
116 m_endDate = std::forward<EndDateT>(value);
117 }
118 template <typename EndDateT = Aws::Utils::DateTime>
120 SetEndDate(std::forward<EndDateT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_note;
126
128
129 Aws::String m_minimumNoticeDays;
130
131 Aws::Utils::DateTime m_startDate{};
132
133 Aws::Utils::DateTime m_endDate{};
134 bool m_noteHasBeenSet = false;
135 bool m_servicePeriodTypeHasBeenSet = false;
136 bool m_minimumNoticeDaysHasBeenSet = false;
137 bool m_startDateHasBeenSet = false;
138 bool m_endDateHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace PartnerCentralChannel
143} // namespace Aws
RevokeServicePeriodHandshakeDetail & WithMinimumNoticeDays(MinimumNoticeDaysT &&value)
RevokeServicePeriodHandshakeDetail & WithServicePeriodType(ServicePeriodType value)
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodHandshakeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodHandshakeDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodHandshakeDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue