7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/IntegrationStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/inspector2/model/IntegrationType.h>
51 template<
typename CreatedOnT = Aws::Utils::DateTime>
52 void SetCreatedOn(CreatedOnT&& value) { m_createdOnHasBeenSet =
true; m_createdOn = std::forward<CreatedOnT>(value); }
53 template<
typename CreatedOnT = Aws::Utils::DateTime>
63 template<
typename IntegrationArnT = Aws::String>
64 void SetIntegrationArn(IntegrationArnT&& value) { m_integrationArnHasBeenSet =
true; m_integrationArn = std::forward<IntegrationArnT>(value); }
65 template<
typename IntegrationArnT = Aws::String>
75 template<
typename LastUpdateOnT = Aws::Utils::DateTime>
76 void SetLastUpdateOn(LastUpdateOnT&& value) { m_lastUpdateOnHasBeenSet =
true; m_lastUpdateOn = std::forward<LastUpdateOnT>(value); }
77 template<
typename LastUpdateOnT = Aws::Utils::DateTime>
87 template<
typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
89 template<
typename NameT = Aws::String>
109 template<
typename StatusReasonT = Aws::String>
110 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
111 template<
typename StatusReasonT = Aws::String>
121 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
123 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
127 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
143 bool m_createdOnHasBeenSet =
false;
146 bool m_integrationArnHasBeenSet =
false;
149 bool m_lastUpdateOnHasBeenSet =
false;
152 bool m_nameHasBeenSet =
false;
155 bool m_statusHasBeenSet =
false;
158 bool m_statusReasonHasBeenSet =
false;
161 bool m_tagsHasBeenSet =
false;
164 bool m_typeHasBeenSet =
false;
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetLastUpdateOn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetName(NameT &&value)
void SetLastUpdateOn(LastUpdateOnT &&value)
CodeSecurityIntegrationSummary & WithStatus(IntegrationStatus value)
AWS_INSPECTOR2_API CodeSecurityIntegrationSummary(Aws::Utils::Json::JsonView jsonValue)
CodeSecurityIntegrationSummary & WithCreatedOn(CreatedOnT &&value)
bool StatusReasonHasBeenSet() const
CodeSecurityIntegrationSummary & WithName(NameT &&value)
CodeSecurityIntegrationSummary & WithType(IntegrationType value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedOnHasBeenSet() const
bool StatusHasBeenSet() const
bool LastUpdateOnHasBeenSet() const
IntegrationType GetType() const
CodeSecurityIntegrationSummary & WithIntegrationArn(IntegrationArnT &&value)
void SetType(IntegrationType value)
bool TypeHasBeenSet() const
CodeSecurityIntegrationSummary & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreatedOn() const
IntegrationStatus GetStatus() const
bool TagsHasBeenSet() const
CodeSecurityIntegrationSummary & WithLastUpdateOn(LastUpdateOnT &&value)
CodeSecurityIntegrationSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool NameHasBeenSet() const
AWS_INSPECTOR2_API CodeSecurityIntegrationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(IntegrationStatus value)
void SetCreatedOn(CreatedOnT &&value)
const Aws::String & GetIntegrationArn() const
void SetIntegrationArn(IntegrationArnT &&value)
void SetTags(TagsT &&value)
bool IntegrationArnHasBeenSet() const
CodeSecurityIntegrationSummary & WithStatusReason(StatusReasonT &&value)
const Aws::String & GetStatusReason() const
AWS_INSPECTOR2_API CodeSecurityIntegrationSummary()=default
void SetStatusReason(StatusReasonT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue