7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/controlcatalog/model/ControlBehavior.h>
11#include <aws/controlcatalog/model/ControlSeverity.h>
12#include <aws/controlcatalog/model/ImplementationSummary.h>
13#include <aws/core/utils/DateTime.h>
26namespace ControlCatalog
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
66 template<
typename AliasesT = Aws::Vector<Aws::String>>
67 void SetAliases(AliasesT&& value) { m_aliasesHasBeenSet =
true; m_aliases = std::forward<AliasesT>(value); }
68 template<
typename AliasesT = Aws::Vector<Aws::String>>
70 template<
typename AliasesT = Aws::String>
71 ControlSummary&
AddAliases(AliasesT&& value) { m_aliasesHasBeenSet =
true; m_aliases.emplace_back(std::forward<AliasesT>(value));
return *
this; }
80 template<
typename NameT = Aws::String>
81 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
82 template<
typename NameT = Aws::String>
93 template<
typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
95 template<
typename DescriptionT = Aws::String>
126 template<
typename ImplementationT = ImplementationSummary>
127 void SetImplementation(ImplementationT&& value) { m_implementationHasBeenSet =
true; m_implementation = std::forward<ImplementationT>(value); }
128 template<
typename ImplementationT = ImplementationSummary>
139 template<
typename CreateTimeT = Aws::Utils::DateTime>
140 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
141 template<
typename CreateTimeT = Aws::Utils::DateTime>
157 template<
typename GovernedResourcesT = Aws::Vector<Aws::String>>
158 void SetGovernedResources(GovernedResourcesT&& value) { m_governedResourcesHasBeenSet =
true; m_governedResources = std::forward<GovernedResourcesT>(value); }
159 template<
typename GovernedResourcesT = Aws::Vector<Aws::String>>
161 template<
typename GovernedResourcesT = Aws::String>
162 ControlSummary&
AddGovernedResources(GovernedResourcesT&& value) { m_governedResourcesHasBeenSet =
true; m_governedResources.emplace_back(std::forward<GovernedResourcesT>(value));
return *
this; }
167 bool m_arnHasBeenSet =
false;
170 bool m_aliasesHasBeenSet =
false;
173 bool m_nameHasBeenSet =
false;
176 bool m_descriptionHasBeenSet =
false;
179 bool m_behaviorHasBeenSet =
false;
182 bool m_severityHasBeenSet =
false;
184 ImplementationSummary m_implementation;
185 bool m_implementationHasBeenSet =
false;
188 bool m_createTimeHasBeenSet =
false;
191 bool m_governedResourcesHasBeenSet =
false;
ControlSummary & WithSeverity(ControlSeverity value)
ControlSummary & WithCreateTime(CreateTimeT &&value)
const Aws::Vector< Aws::String > & GetAliases() const
AWS_CONTROLCATALOG_API ControlSummary(Aws::Utils::Json::JsonView jsonValue)
void SetBehavior(ControlBehavior value)
bool BehaviorHasBeenSet() const
const Aws::String & GetName() const
ControlSummary & AddAliases(AliasesT &&value)
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreateTimeHasBeenSet() const
void SetSeverity(ControlSeverity value)
const Aws::String & GetArn() const
ControlBehavior GetBehavior() const
const Aws::Vector< Aws::String > & GetGovernedResources() const
const Aws::Utils::DateTime & GetCreateTime() const
ControlSummary & WithArn(ArnT &&value)
void SetName(NameT &&value)
void SetImplementation(ImplementationT &&value)
ControlSummary & WithBehavior(ControlBehavior value)
ControlSeverity GetSeverity() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetGovernedResources(GovernedResourcesT &&value)
bool DescriptionHasBeenSet() const
ControlSummary & WithDescription(DescriptionT &&value)
bool SeverityHasBeenSet() const
bool GovernedResourcesHasBeenSet() const
bool NameHasBeenSet() const
bool ArnHasBeenSet() const
void SetCreateTime(CreateTimeT &&value)
AWS_CONTROLCATALOG_API ControlSummary()=default
AWS_CONTROLCATALOG_API ControlSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const ImplementationSummary & GetImplementation() const
ControlSummary & WithGovernedResources(GovernedResourcesT &&value)
void SetAliases(AliasesT &&value)
void SetArn(ArnT &&value)
bool ImplementationHasBeenSet() const
bool AliasesHasBeenSet() const
ControlSummary & WithImplementation(ImplementationT &&value)
ControlSummary & WithName(NameT &&value)
ControlSummary & WithAliases(AliasesT &&value)
ControlSummary & AddGovernedResources(GovernedResourcesT &&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