7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ce/model/RootCauseImpact.h>
52 template<
typename ServiceT = Aws::String>
53 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
54 template<
typename ServiceT = Aws::String>
64 template<
typename RegionT = Aws::String>
65 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
66 template<
typename RegionT = Aws::String>
76 template<
typename LinkedAccountT = Aws::String>
77 void SetLinkedAccount(LinkedAccountT&& value) { m_linkedAccountHasBeenSet =
true; m_linkedAccount = std::forward<LinkedAccountT>(value); }
78 template<
typename LinkedAccountT = Aws::String>
88 template<
typename LinkedAccountNameT = Aws::String>
89 void SetLinkedAccountName(LinkedAccountNameT&& value) { m_linkedAccountNameHasBeenSet =
true; m_linkedAccountName = std::forward<LinkedAccountNameT>(value); }
90 template<
typename LinkedAccountNameT = Aws::String>
101 template<
typename UsageTypeT = Aws::String>
102 void SetUsageType(UsageTypeT&& value) { m_usageTypeHasBeenSet =
true; m_usageType = std::forward<UsageTypeT>(value); }
103 template<
typename UsageTypeT = Aws::String>
113 template<
typename ImpactT = RootCauseImpact>
114 void SetImpact(ImpactT&& value) { m_impactHasBeenSet =
true; m_impact = std::forward<ImpactT>(value); }
115 template<
typename ImpactT = RootCauseImpact>
121 bool m_serviceHasBeenSet =
false;
124 bool m_regionHasBeenSet =
false;
127 bool m_linkedAccountHasBeenSet =
false;
130 bool m_linkedAccountNameHasBeenSet =
false;
133 bool m_usageTypeHasBeenSet =
false;
136 bool m_impactHasBeenSet =
false;
RootCause & WithUsageType(UsageTypeT &&value)
bool UsageTypeHasBeenSet() const
const Aws::String & GetLinkedAccountName() const
AWS_COSTEXPLORER_API RootCause(Aws::Utils::Json::JsonView jsonValue)
bool LinkedAccountNameHasBeenSet() const
bool ImpactHasBeenSet() const
const RootCauseImpact & GetImpact() const
RootCause & WithLinkedAccountName(LinkedAccountNameT &&value)
void SetLinkedAccount(LinkedAccountT &&value)
const Aws::String & GetService() const
AWS_COSTEXPLORER_API RootCause & operator=(Aws::Utils::Json::JsonView jsonValue)
RootCause & WithRegion(RegionT &&value)
RootCause & WithService(ServiceT &&value)
const Aws::String & GetUsageType() const
bool LinkedAccountHasBeenSet() const
bool RegionHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLinkedAccount() const
void SetRegion(RegionT &&value)
RootCause & WithLinkedAccount(LinkedAccountT &&value)
void SetUsageType(UsageTypeT &&value)
bool ServiceHasBeenSet() const
const Aws::String & GetRegion() const
void SetService(ServiceT &&value)
AWS_COSTEXPLORER_API RootCause()=default
void SetLinkedAccountName(LinkedAccountNameT &&value)
RootCause & WithImpact(ImpactT &&value)
void SetImpact(ImpactT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue