7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AppLimit.h>
9#include <aws/amplifygen3/model/RegionLimit.h>
10#include <aws/amplifygen3/model/ViolationCode.h>
11#include <aws/amplifygen3/model/ViolationResource.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace AmplifyGen3 {
47 m_codeHasBeenSet =
true;
62 template <
typename MessageT = Aws::String>
64 m_messageHasBeenSet =
true;
65 m_message = std::forward<MessageT>(value);
67 template <
typename MessageT = Aws::String>
81 template <
typename RegionLimitsT = Aws::Vector<RegionLimit>>
83 m_regionLimitsHasBeenSet =
true;
84 m_regionLimits = std::forward<RegionLimitsT>(value);
86 template <
typename RegionLimitsT = Aws::Vector<RegionLimit>>
91 template <
typename RegionLimitsT = RegionLimit>
93 m_regionLimitsHasBeenSet =
true;
94 m_regionLimits.emplace_back(std::forward<RegionLimitsT>(value));
106 template <
typename AppLimitsT = Aws::Vector<AppLimit>>
108 m_appLimitsHasBeenSet =
true;
109 m_appLimits = std::forward<AppLimitsT>(value);
111 template <
typename AppLimitsT = Aws::Vector<AppLimit>>
116 template <
typename AppLimitsT = AppLimit>
118 m_appLimitsHasBeenSet =
true;
119 m_appLimits.emplace_back(std::forward<AppLimitsT>(value));
130 template <
typename ResourcesT = Aws::Vector<ViolationResource>>
132 m_resourcesHasBeenSet =
true;
133 m_resources = std::forward<ResourcesT>(value);
135 template <
typename ResourcesT = Aws::Vector<ViolationResource>>
140 template <
typename ResourcesT = ViolationResource>
142 m_resourcesHasBeenSet =
true;
143 m_resources.emplace_back(std::forward<ResourcesT>(value));
157 bool m_codeHasBeenSet =
false;
158 bool m_messageHasBeenSet =
false;
159 bool m_regionLimitsHasBeenSet =
false;
160 bool m_appLimitsHasBeenSet =
false;
161 bool m_resourcesHasBeenSet =
false;
const Aws::Vector< ViolationResource > & GetResources() const
const Aws::Vector< AppLimit > & GetAppLimits() const
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
bool AppLimitsHasBeenSet() const
PlanViolation & WithAppLimits(AppLimitsT &&value)
bool ResourcesHasBeenSet() const
AWS_AMPLIFYGEN3_API PlanViolation(Aws::Utils::Json::JsonView jsonValue)
void SetResources(ResourcesT &&value)
PlanViolation & WithRegionLimits(RegionLimitsT &&value)
PlanViolation & AddResources(ResourcesT &&value)
PlanViolation & AddRegionLimits(RegionLimitsT &&value)
PlanViolation & WithMessage(MessageT &&value)
PlanViolation & AddAppLimits(AppLimitsT &&value)
const Aws::Vector< RegionLimit > & GetRegionLimits() const
PlanViolation & WithCode(ViolationCode value)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYGEN3_API PlanViolation()=default
void SetAppLimits(AppLimitsT &&value)
bool CodeHasBeenSet() const
AWS_AMPLIFYGEN3_API PlanViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
ViolationCode GetCode() const
void SetCode(ViolationCode value)
PlanViolation & WithResources(ResourcesT &&value)
void SetRegionLimits(RegionLimitsT &&value)
bool RegionLimitsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue