7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/ScheduleConfiguration.h>
12#include <aws/customer-profiles/model/ScheduledExecutions.h>
13#include <aws/customer-profiles/model/SegmentSubscriptionStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CustomerProfiles {
45 m_statusHasBeenSet =
true;
59 template <
typename MessageT = Aws::String>
61 m_messageHasBeenSet =
true;
62 m_message = std::forward<MessageT>(value);
64 template <
typename MessageT = Aws::String>
76 template <
typename ScheduleConfigurationT = ScheduleConfiguration>
78 m_scheduleConfigurationHasBeenSet =
true;
79 m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value);
81 template <
typename ScheduleConfigurationT = ScheduleConfiguration>
93 template <
typename ScheduledExecutionsT = ScheduledExecutions>
95 m_scheduledExecutionsHasBeenSet =
true;
96 m_scheduledExecutions = std::forward<ScheduledExecutionsT>(value);
98 template <
typename ScheduledExecutionsT = ScheduledExecutions>
110 template <
typename StartedAtT = Aws::Utils::DateTime>
112 m_startedAtHasBeenSet =
true;
113 m_startedAt = std::forward<StartedAtT>(value);
115 template <
typename StartedAtT = Aws::Utils::DateTime>
127 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
129 m_lastUpdatedAtHasBeenSet =
true;
130 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
132 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
142 template <
typename RequestIdT = Aws::String>
144 m_requestIdHasBeenSet =
true;
145 m_requestId = std::forward<RequestIdT>(value);
147 template <
typename RequestIdT = Aws::String>
160 ScheduleConfiguration m_scheduleConfiguration;
162 ScheduledExecutions m_scheduledExecutions;
170 bool m_statusHasBeenSet =
false;
171 bool m_messageHasBeenSet =
false;
172 bool m_scheduleConfigurationHasBeenSet =
false;
173 bool m_scheduledExecutionsHasBeenSet =
false;
174 bool m_startedAtHasBeenSet =
false;
175 bool m_lastUpdatedAtHasBeenSet =
false;
176 bool m_requestIdHasBeenSet =
false;
GetSegmentSubscriptionResult & WithRequestId(RequestIdT &&value)
void SetStartedAt(StartedAtT &&value)
const ScheduleConfiguration & GetScheduleConfiguration() const
GetSegmentSubscriptionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
const ScheduledExecutions & GetScheduledExecutions() const
GetSegmentSubscriptionResult & WithStatus(SegmentSubscriptionStatus value)
void SetScheduleConfiguration(ScheduleConfigurationT &&value)
GetSegmentSubscriptionResult & WithMessage(MessageT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetMessage() const
void SetStatus(SegmentSubscriptionStatus value)
void SetScheduledExecutions(ScheduledExecutionsT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSegmentSubscriptionResult & WithStartedAt(StartedAtT &&value)
GetSegmentSubscriptionResult & WithScheduledExecutions(ScheduledExecutionsT &&value)
GetSegmentSubscriptionResult & WithScheduleConfiguration(ScheduleConfigurationT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentSubscriptionResult()=default
SegmentSubscriptionStatus GetStatus() const
const Aws::String & GetRequestId() const
void SetMessage(MessageT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
SegmentSubscriptionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue