7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace ConnectCampaignsV2 {
38 template <
typename NameT = Aws::String>
40 m_nameHasBeenSet =
true;
41 m_name = std::forward<NameT>(value);
43 template <
typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
54 template <
typename StartDateT = Aws::String>
56 m_startDateHasBeenSet =
true;
57 m_startDate = std::forward<StartDateT>(value);
59 template <
typename StartDateT = Aws::String>
70 template <
typename EndDateT = Aws::String>
72 m_endDateHasBeenSet =
true;
73 m_endDate = std::forward<EndDateT>(value);
75 template <
typename EndDateT = Aws::String>
87 bool m_nameHasBeenSet =
false;
88 bool m_startDateHasBeenSet =
false;
89 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