7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ConnectCampaignsV2
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
54 template<
typename StartDateT = Aws::String>
55 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
56 template<
typename StartDateT = Aws::String>
64 template<
typename EndDateT = Aws::String>
65 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet =
true; m_endDate = std::forward<EndDateT>(value); }
66 template<
typename EndDateT = Aws::String>
72 bool m_nameHasBeenSet =
false;
75 bool m_startDateHasBeenSet =
false;
78 bool m_endDateHasBeenSet =
false;
AWS_CONNECTCAMPAIGNSV2_API RestrictedPeriod(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
RestrictedPeriod & WithName(NameT &&value)
bool StartDateHasBeenSet() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetStartDate() const
void SetEndDate(EndDateT &&value)
const Aws::String & GetEndDate() const
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartDate(StartDateT &&value)
RestrictedPeriod & WithEndDate(EndDateT &&value)
AWS_CONNECTCAMPAIGNSV2_API RestrictedPeriod()=default
bool EndDateHasBeenSet() const
RestrictedPeriod & WithStartDate(StartDateT &&value)
AWS_CONNECTCAMPAIGNSV2_API RestrictedPeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue