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 ProgramManagementAccountIdentifierT = Aws::String>
45 m_programManagementAccountIdentifierHasBeenSet =
true;
46 m_programManagementAccountIdentifier = std::forward<ProgramManagementAccountIdentifierT>(value);
48 template <
typename ProgramManagementAccountIdentifierT = Aws::String>
61 template <
typename NoteT = Aws::String>
63 m_noteHasBeenSet =
true;
64 m_note = std::forward<NoteT>(value);
66 template <
typename NoteT = Aws::String>
68 SetNote(std::forward<NoteT>(value));
80 m_servicePeriodTypeHasBeenSet =
true;
81 m_servicePeriodType = value;
95 template <
typename MinimumNoticeDaysT = Aws::String>
97 m_minimumNoticeDaysHasBeenSet =
true;
98 m_minimumNoticeDays = std::forward<MinimumNoticeDaysT>(value);
100 template <
typename MinimumNoticeDaysT = Aws::String>
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_programManagementAccountIdentifierHasBeenSet =
false;
135 bool m_noteHasBeenSet =
false;
136 bool m_servicePeriodTypeHasBeenSet =
false;
137 bool m_minimumNoticeDaysHasBeenSet =
false;
138 bool m_endDateHasBeenSet =
false;
void SetEndDate(EndDateT &&value)
StartServicePeriodPayload & WithNote(NoteT &&value)
const Aws::String & GetNote() const
bool MinimumNoticeDaysHasBeenSet() const
StartServicePeriodPayload & WithProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT &&value)
void SetServicePeriodType(ServicePeriodType value)
bool EndDateHasBeenSet() const
StartServicePeriodPayload & WithMinimumNoticeDays(MinimumNoticeDaysT &&value)
bool ServicePeriodTypeHasBeenSet() const
bool ProgramManagementAccountIdentifierHasBeenSet() const
const Aws::String & GetProgramManagementAccountIdentifier() const
AWS_PARTNERCENTRALCHANNEL_API StartServicePeriodPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNote(NoteT &&value)
void SetMinimumNoticeDays(MinimumNoticeDaysT &&value)
StartServicePeriodPayload & WithServicePeriodType(ServicePeriodType value)
const Aws::Utils::DateTime & GetEndDate() const
StartServicePeriodPayload & WithEndDate(EndDateT &&value)
void SetProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT &&value)
bool NoteHasBeenSet() const
AWS_PARTNERCENTRALCHANNEL_API StartServicePeriodPayload()=default
AWS_PARTNERCENTRALCHANNEL_API StartServicePeriodPayload(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMinimumNoticeDays() const
ServicePeriodType GetServicePeriodType() const
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue