/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A key-value pair you set that identifies a property of the authenticating
* instance.See Also:
AWS
* API Reference
Indicates whether the temporary credential request was successful.
*/ inline bool GetFailed() const{ return m_failed; } /** *Indicates whether the temporary credential request was successful.
*/ inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; } /** *Indicates whether the temporary credential request was successful.
*/ inline void SetFailed(bool value) { m_failedHasBeenSet = true; m_failed = value; } /** *Indicates whether the temporary credential request was successful.
*/ inline InstanceProperty& WithFailed(bool value) { SetFailed(value); return *this;} /** *A list of instanceProperty objects.
*/ inline const Aws::MapA list of instanceProperty objects.
*/ inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } /** *A list of instanceProperty objects.
*/ inline void SetProperties(const Aws::MapA list of instanceProperty objects.
*/ inline void SetProperties(Aws::MapA list of instanceProperty objects.
*/ inline InstanceProperty& WithProperties(const Aws::MapA list of instanceProperty objects.
*/ inline InstanceProperty& WithProperties(Aws::MapA list of instanceProperty objects.
*/ inline InstanceProperty& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; } /** *A list of instanceProperty objects.
*/ inline InstanceProperty& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; } /** *A list of instanceProperty objects.
*/ inline InstanceProperty& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; } /** *A list of instanceProperty objects.
*/ inline InstanceProperty& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; } /** *A list of instanceProperty objects.
*/ inline InstanceProperty& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; } /** *A list of instanceProperty objects.
*/ inline InstanceProperty& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; } /** *A list of instanceProperty objects.
*/ inline InstanceProperty& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; } /** *The ISO-8601 time stamp of when the certificate was last used in a temporary * credential request.
*/ inline const Aws::Utils::DateTime& GetSeenAt() const{ return m_seenAt; } /** *The ISO-8601 time stamp of when the certificate was last used in a temporary * credential request.
*/ inline bool SeenAtHasBeenSet() const { return m_seenAtHasBeenSet; } /** *The ISO-8601 time stamp of when the certificate was last used in a temporary * credential request.
*/ inline void SetSeenAt(const Aws::Utils::DateTime& value) { m_seenAtHasBeenSet = true; m_seenAt = value; } /** *The ISO-8601 time stamp of when the certificate was last used in a temporary * credential request.
*/ inline void SetSeenAt(Aws::Utils::DateTime&& value) { m_seenAtHasBeenSet = true; m_seenAt = std::move(value); } /** *The ISO-8601 time stamp of when the certificate was last used in a temporary * credential request.
*/ inline InstanceProperty& WithSeenAt(const Aws::Utils::DateTime& value) { SetSeenAt(value); return *this;} /** *The ISO-8601 time stamp of when the certificate was last used in a temporary * credential request.
*/ inline InstanceProperty& WithSeenAt(Aws::Utils::DateTime&& value) { SetSeenAt(std::move(value)); return *this;} private: bool m_failed; bool m_failedHasBeenSet = false; Aws::Map