7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/RootCauseImpact.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CostExplorer {
46 template <
typename ServiceT = Aws::String>
48 m_serviceHasBeenSet =
true;
49 m_service = std::forward<ServiceT>(value);
51 template <
typename ServiceT = Aws::String>
64 template <
typename RegionT = Aws::String>
66 m_regionHasBeenSet =
true;
67 m_region = std::forward<RegionT>(value);
69 template <
typename RegionT = Aws::String>
82 template <
typename LinkedAccountT = Aws::String>
84 m_linkedAccountHasBeenSet =
true;
85 m_linkedAccount = std::forward<LinkedAccountT>(value);
87 template <
typename LinkedAccountT = Aws::String>
100 template <
typename LinkedAccountNameT = Aws::String>
102 m_linkedAccountNameHasBeenSet =
true;
103 m_linkedAccountName = std::forward<LinkedAccountNameT>(value);
105 template <
typename LinkedAccountNameT = Aws::String>
119 template <
typename UsageTypeT = Aws::String>
121 m_usageTypeHasBeenSet =
true;
122 m_usageType = std::forward<UsageTypeT>(value);
124 template <
typename UsageTypeT = Aws::String>
137 template <
typename ImpactT = RootCauseImpact>
139 m_impactHasBeenSet =
true;
140 m_impact = std::forward<ImpactT>(value);
142 template <
typename ImpactT = RootCauseImpact>
160 bool m_serviceHasBeenSet =
false;
161 bool m_regionHasBeenSet =
false;
162 bool m_linkedAccountHasBeenSet =
false;
163 bool m_linkedAccountNameHasBeenSet =
false;
164 bool m_usageTypeHasBeenSet =
false;
165 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