7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rum/CloudWatchRUM_EXPORTS.h>
10#include <aws/rum/model/Telemetry.h>
21namespace CloudWatchRUM {
44 template <
typename IdentityPoolIdT = Aws::String>
46 m_identityPoolIdHasBeenSet =
true;
47 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
49 template <
typename IdentityPoolIdT = Aws::String>
64 template <
typename ExcludedPagesT = Aws::Vector<Aws::String>>
66 m_excludedPagesHasBeenSet =
true;
67 m_excludedPages = std::forward<ExcludedPagesT>(value);
69 template <
typename ExcludedPagesT = Aws::Vector<Aws::String>>
74 template <
typename ExcludedPagesT = Aws::String>
76 m_excludedPagesHasBeenSet =
true;
77 m_excludedPages.emplace_back(std::forward<ExcludedPagesT>(value));
91 template <
typename IncludedPagesT = Aws::Vector<Aws::String>>
93 m_includedPagesHasBeenSet =
true;
94 m_includedPages = std::forward<IncludedPagesT>(value);
96 template <
typename IncludedPagesT = Aws::Vector<Aws::String>>
101 template <
typename IncludedPagesT = Aws::String>
103 m_includedPagesHasBeenSet =
true;
104 m_includedPages.emplace_back(std::forward<IncludedPagesT>(value));
116 template <
typename FavoritePagesT = Aws::Vector<Aws::String>>
118 m_favoritePagesHasBeenSet =
true;
119 m_favoritePages = std::forward<FavoritePagesT>(value);
121 template <
typename FavoritePagesT = Aws::Vector<Aws::String>>
126 template <
typename FavoritePagesT = Aws::String>
128 m_favoritePagesHasBeenSet =
true;
129 m_favoritePages.emplace_back(std::forward<FavoritePagesT>(value));
146 m_sessionSampleRateHasBeenSet =
true;
147 m_sessionSampleRate = value;
175 template <
typename GuestRoleArnT = Aws::String>
177 m_guestRoleArnHasBeenSet =
true;
178 m_guestRoleArn = std::forward<GuestRoleArnT>(value);
180 template <
typename GuestRoleArnT = Aws::String>
198 m_allowCookiesHasBeenSet =
true;
199 m_allowCookies = value;
219 template <
typename TelemetriesT = Aws::Vector<Telemetry>>
221 m_telemetriesHasBeenSet =
true;
222 m_telemetries = std::forward<TelemetriesT>(value);
224 template <
typename TelemetriesT = Aws::Vector<Telemetry>>
230 m_telemetriesHasBeenSet =
true;
231 m_telemetries.push_back(value);
249 m_enableXRayHasBeenSet =
true;
250 m_enableXRay = value;
266 double m_sessionSampleRate{0.0};
270 bool m_allowCookies{
false};
274 bool m_enableXRay{
false};
275 bool m_identityPoolIdHasBeenSet =
false;
276 bool m_excludedPagesHasBeenSet =
false;
277 bool m_includedPagesHasBeenSet =
false;
278 bool m_favoritePagesHasBeenSet =
false;
279 bool m_sessionSampleRateHasBeenSet =
false;
280 bool m_guestRoleArnHasBeenSet =
false;
281 bool m_allowCookiesHasBeenSet =
false;
282 bool m_telemetriesHasBeenSet =
false;
283 bool m_enableXRayHasBeenSet =
false;
AppMonitorConfiguration & WithIdentityPoolId(IdentityPoolIdT &&value)
AppMonitorConfiguration & WithAllowCookies(bool value)
void SetIdentityPoolId(IdentityPoolIdT &&value)
AppMonitorConfiguration & WithIncludedPages(IncludedPagesT &&value)
bool FavoritePagesHasBeenSet() const
double GetSessionSampleRate() const
bool GetEnableXRay() const
AppMonitorConfiguration & WithSessionSampleRate(double value)
AppMonitorConfiguration & AddIncludedPages(IncludedPagesT &&value)
bool TelemetriesHasBeenSet() const
AppMonitorConfiguration & WithEnableXRay(bool value)
const Aws::Vector< Telemetry > & GetTelemetries() const
void SetIncludedPages(IncludedPagesT &&value)
bool GuestRoleArnHasBeenSet() const
bool SessionSampleRateHasBeenSet() const
void SetGuestRoleArn(GuestRoleArnT &&value)
AWS_CLOUDWATCHRUM_API AppMonitorConfiguration()=default
void SetAllowCookies(bool value)
AWS_CLOUDWATCHRUM_API Aws::Utils::Json::JsonValue Jsonize() const
AppMonitorConfiguration & WithExcludedPages(ExcludedPagesT &&value)
void SetTelemetries(TelemetriesT &&value)
bool IncludedPagesHasBeenSet() const
AWS_CLOUDWATCHRUM_API AppMonitorConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetEnableXRay(bool value)
AppMonitorConfiguration & WithGuestRoleArn(GuestRoleArnT &&value)
bool GetAllowCookies() const
AppMonitorConfiguration & WithFavoritePages(FavoritePagesT &&value)
AppMonitorConfiguration & AddFavoritePages(FavoritePagesT &&value)
AWS_CLOUDWATCHRUM_API AppMonitorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSessionSampleRate(double value)
AppMonitorConfiguration & WithTelemetries(TelemetriesT &&value)
bool EnableXRayHasBeenSet() const
const Aws::String & GetIdentityPoolId() const
void SetFavoritePages(FavoritePagesT &&value)
const Aws::Vector< Aws::String > & GetFavoritePages() const
const Aws::String & GetGuestRoleArn() const
bool IdentityPoolIdHasBeenSet() const
void SetExcludedPages(ExcludedPagesT &&value)
AppMonitorConfiguration & AddExcludedPages(ExcludedPagesT &&value)
bool AllowCookiesHasBeenSet() const
const Aws::Vector< Aws::String > & GetIncludedPages() const
const Aws::Vector< Aws::String > & GetExcludedPages() const
bool ExcludedPagesHasBeenSet() const
AppMonitorConfiguration & AddTelemetries(Telemetry value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue