7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/ResourceLocation.h>
12#include <aws/lightsail/model/ResourceType.h>
13#include <aws/lightsail/model/Tag.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
64 template <
typename ArnT = Aws::String>
66 m_arnHasBeenSet =
true;
67 m_arn = std::forward<ArnT>(value);
69 template <
typename ArnT = Aws::String>
71 SetArn(std::forward<ArnT>(value));
84 template <
typename SupportCodeT = Aws::String>
86 m_supportCodeHasBeenSet =
true;
87 m_supportCode = std::forward<SupportCodeT>(value);
89 template <
typename SupportCodeT = Aws::String>
103 template <
typename CreatedAtT = Aws::Utils::DateTime>
105 m_createdAtHasBeenSet =
true;
106 m_createdAt = std::forward<CreatedAtT>(value);
108 template <
typename CreatedAtT = Aws::Utils::DateTime>
121 template <
typename LocationT = ResourceLocation>
123 m_locationHasBeenSet =
true;
124 m_location = std::forward<LocationT>(value);
126 template <
typename LocationT = ResourceLocation>
140 m_resourceTypeHasBeenSet =
true;
141 m_resourceType = value;
158 template <
typename TagsT = Aws::Vector<Tag>>
160 m_tagsHasBeenSet =
true;
161 m_tags = std::forward<TagsT>(value);
163 template <
typename TagsT = Aws::Vector<Tag>>
165 SetTags(std::forward<TagsT>(value));
168 template <
typename TagsT = Tag>
170 m_tagsHasBeenSet =
true;
171 m_tags.emplace_back(std::forward<TagsT>(value));
182 template <
typename Fingerpr
intT = Aws::String>
184 m_fingerprintHasBeenSet =
true;
185 m_fingerprint = std::forward<FingerprintT>(value);
187 template <
typename Fingerpr
intT = Aws::String>
202 ResourceLocation m_location;
209 bool m_nameHasBeenSet =
false;
210 bool m_arnHasBeenSet =
false;
211 bool m_supportCodeHasBeenSet =
false;
212 bool m_createdAtHasBeenSet =
false;
213 bool m_locationHasBeenSet =
false;
214 bool m_resourceTypeHasBeenSet =
false;
215 bool m_tagsHasBeenSet =
false;
216 bool m_fingerprintHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Tag > & GetTags() const
bool LocationHasBeenSet() const
KeyPair & WithArn(ArnT &&value)
const Aws::String & GetName() const
AWS_LIGHTSAIL_API KeyPair()=default
KeyPair & WithName(NameT &&value)
void SetFingerprint(FingerprintT &&value)
bool NameHasBeenSet() const
ResourceType GetResourceType() const
bool FingerprintHasBeenSet() const
AWS_LIGHTSAIL_API KeyPair & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
KeyPair & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
void SetSupportCode(SupportCodeT &&value)
KeyPair & WithLocation(LocationT &&value)
const Aws::String & GetSupportCode() const
bool ResourceTypeHasBeenSet() const
KeyPair & WithTags(TagsT &&value)
KeyPair & WithSupportCode(SupportCodeT &&value)
void SetName(NameT &&value)
KeyPair & WithResourceType(ResourceType value)
const Aws::String & GetFingerprint() const
KeyPair & WithCreatedAt(CreatedAtT &&value)
void SetResourceType(ResourceType value)
bool TagsHasBeenSet() const
void SetLocation(LocationT &&value)
bool CreatedAtHasBeenSet() const
bool SupportCodeHasBeenSet() const
void SetArn(ArnT &&value)
AWS_LIGHTSAIL_API KeyPair(Aws::Utils::Json::JsonView jsonValue)
const ResourceLocation & GetLocation() const
const Aws::String & GetArn() const
bool ArnHasBeenSet() const
KeyPair & WithFingerprint(FingerprintT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() 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