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>
21namespace PartnerCentralChannel {
43 template <
typename NoteT = Aws::String>
45 m_noteHasBeenSet =
true;
46 m_note = std::forward<NoteT>(value);
48 template <
typename NoteT = Aws::String>
50 SetNote(std::forward<NoteT>(value));
62 m_servicePeriodTypeHasBeenSet =
true;
63 m_servicePeriodType = value;
77 template <
typename MinimumNoticeDaysT = Aws::String>
79 m_minimumNoticeDaysHasBeenSet =
true;
80 m_minimumNoticeDays = std::forward<MinimumNoticeDaysT>(value);
82 template <
typename MinimumNoticeDaysT = Aws::String>
95 template <
typename StartDateT = Aws::Utils::DateTime>
97 m_startDateHasBeenSet =
true;
98 m_startDate = std::forward<StartDateT>(value);
100 template <
typename StartDateT = Aws::Utils::DateTime>
113 template <
typename EndDateT = Aws::Utils::DateTime>
115 m_endDateHasBeenSet =
true;
116 m_endDate = std::forward<EndDateT>(value);
118 template <
typename EndDateT = Aws::Utils::DateTime>
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;
RevokeServicePeriodHandshakeDetail & WithMinimumNoticeDays(MinimumNoticeDaysT &&value)
RevokeServicePeriodHandshakeDetail & WithServicePeriodType(ServicePeriodType value)
const Aws::String & GetMinimumNoticeDays() const
bool EndDateHasBeenSet() const
RevokeServicePeriodHandshakeDetail & WithStartDate(StartDateT &&value)
ServicePeriodType GetServicePeriodType() const
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodHandshakeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartDate(StartDateT &&value)
bool StartDateHasBeenSet() const
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodHandshakeDetail(Aws::Utils::Json::JsonView jsonValue)
bool MinimumNoticeDaysHasBeenSet() const
void SetServicePeriodType(ServicePeriodType value)
RevokeServicePeriodHandshakeDetail & WithEndDate(EndDateT &&value)
const Aws::String & GetNote() const
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
RevokeServicePeriodHandshakeDetail & WithNote(NoteT &&value)
void SetMinimumNoticeDays(MinimumNoticeDaysT &&value)
bool ServicePeriodTypeHasBeenSet() const
void SetNote(NoteT &&value)
const Aws::Utils::DateTime & GetEndDate() const
const Aws::Utils::DateTime & GetStartDate() const
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodHandshakeDetail()=default
void SetEndDate(EndDateT &&value)
bool NoteHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue