AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceProperty.h
1
6#pragma once
7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace RolesAnywhere
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ROLESANYWHERE_API InstanceProperty();
38 AWS_ROLESANYWHERE_API InstanceProperty(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROLESANYWHERE_API InstanceProperty& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline bool GetFailed() const{ return m_failed; }
48 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
49 inline void SetFailed(bool value) { m_failedHasBeenSet = true; m_failed = value; }
50 inline InstanceProperty& WithFailed(bool value) { SetFailed(value); return *this;}
52
54
57 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
58 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
59 inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
60 inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
62 inline InstanceProperty& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
63 inline InstanceProperty& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
64 inline InstanceProperty& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
65 inline InstanceProperty& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
66 inline InstanceProperty& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
67 inline InstanceProperty& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
68 inline InstanceProperty& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
69 inline InstanceProperty& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
71
73
77 inline const Aws::Utils::DateTime& GetSeenAt() const{ return m_seenAt; }
78 inline bool SeenAtHasBeenSet() const { return m_seenAtHasBeenSet; }
79 inline void SetSeenAt(const Aws::Utils::DateTime& value) { m_seenAtHasBeenSet = true; m_seenAt = value; }
80 inline void SetSeenAt(Aws::Utils::DateTime&& value) { m_seenAtHasBeenSet = true; m_seenAt = std::move(value); }
81 inline InstanceProperty& WithSeenAt(const Aws::Utils::DateTime& value) { SetSeenAt(value); return *this;}
82 inline InstanceProperty& WithSeenAt(Aws::Utils::DateTime&& value) { SetSeenAt(std::move(value)); return *this;}
84 private:
85
86 bool m_failed;
87 bool m_failedHasBeenSet = false;
88
90 bool m_propertiesHasBeenSet = false;
91
92 Aws::Utils::DateTime m_seenAt;
93 bool m_seenAtHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace RolesAnywhere
98} // namespace Aws
InstanceProperty & WithFailed(bool value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
InstanceProperty & AddProperties(Aws::String &&key, Aws::String &&value)
AWS_ROLESANYWHERE_API InstanceProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceProperty & AddProperties(Aws::String &&key, const char *value)
InstanceProperty & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
InstanceProperty & AddProperties(Aws::String &&key, const Aws::String &value)
InstanceProperty & WithSeenAt(Aws::Utils::DateTime &&value)
InstanceProperty & AddProperties(const Aws::String &key, const Aws::String &value)
InstanceProperty & AddProperties(const Aws::String &key, Aws::String &&value)
InstanceProperty & AddProperties(const char *key, const char *value)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSeenAt(Aws::Utils::DateTime &&value)
void SetSeenAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetSeenAt() const
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
InstanceProperty & AddProperties(const char *key, Aws::String &&value)
AWS_ROLESANYWHERE_API InstanceProperty(Aws::Utils::Json::JsonView jsonValue)
InstanceProperty & WithSeenAt(const Aws::Utils::DateTime &value)
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
InstanceProperty & WithProperties(Aws::Map< Aws::String, Aws::String > &&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