7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
20namespace ServiceDiscovery {
57 template <
typename IdT = Aws::String>
59 m_idHasBeenSet =
true;
60 m_id = std::forward<IdT>(value);
62 template <
typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
81 template <
typename CreatorRequestIdT = Aws::String>
83 m_creatorRequestIdHasBeenSet =
true;
84 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
86 template <
typename CreatorRequestIdT = Aws::String>
156 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
158 m_attributesHasBeenSet =
true;
159 m_attributes = std::forward<AttributesT>(value);
161 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
166 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
168 m_attributesHasBeenSet =
true;
169 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
185 template <
typename CreatedByAccountT = Aws::String>
187 m_createdByAccountHasBeenSet =
true;
188 m_createdByAccount = std::forward<CreatedByAccountT>(value);
190 template <
typename CreatedByAccountT = Aws::String>
204 bool m_idHasBeenSet =
false;
205 bool m_creatorRequestIdHasBeenSet =
false;
206 bool m_attributesHasBeenSet =
false;
207 bool m_createdByAccountHasBeenSet =
false;
bool CreatorRequestIdHasBeenSet() const
bool AttributesHasBeenSet() const
Instance & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::String & GetCreatedByAccount() const
Instance & WithCreatedByAccount(CreatedByAccountT &&value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
Instance & WithCreatorRequestId(CreatorRequestIdT &&value)
Instance & WithAttributes(AttributesT &&value)
const Aws::String & GetId() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool IdHasBeenSet() const
const Aws::String & GetCreatorRequestId() const
void SetAttributes(AttributesT &&value)
Instance & WithId(IdT &&value)
AWS_SERVICEDISCOVERY_API Instance()=default
void SetCreatorRequestId(CreatorRequestIdT &&value)
AWS_SERVICEDISCOVERY_API Instance(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEDISCOVERY_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedByAccountHasBeenSet() const
void SetCreatedByAccount(CreatedByAccountT &&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