AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceSummary.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SnowDeviceManagement
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SNOWDEVICEMANAGEMENT_API DeviceSummary();
36 AWS_SNOWDEVICEMANAGEMENT_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SNOWDEVICEMANAGEMENT_API DeviceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAssociatedWithJob() const{ return m_associatedWithJob; }
46 inline bool AssociatedWithJobHasBeenSet() const { return m_associatedWithJobHasBeenSet; }
47 inline void SetAssociatedWithJob(const Aws::String& value) { m_associatedWithJobHasBeenSet = true; m_associatedWithJob = value; }
48 inline void SetAssociatedWithJob(Aws::String&& value) { m_associatedWithJobHasBeenSet = true; m_associatedWithJob = std::move(value); }
49 inline void SetAssociatedWithJob(const char* value) { m_associatedWithJobHasBeenSet = true; m_associatedWithJob.assign(value); }
50 inline DeviceSummary& WithAssociatedWithJob(const Aws::String& value) { SetAssociatedWithJob(value); return *this;}
51 inline DeviceSummary& WithAssociatedWithJob(Aws::String&& value) { SetAssociatedWithJob(std::move(value)); return *this;}
52 inline DeviceSummary& WithAssociatedWithJob(const char* value) { SetAssociatedWithJob(value); return *this;}
54
56
59 inline const Aws::String& GetManagedDeviceArn() const{ return m_managedDeviceArn; }
60 inline bool ManagedDeviceArnHasBeenSet() const { return m_managedDeviceArnHasBeenSet; }
61 inline void SetManagedDeviceArn(const Aws::String& value) { m_managedDeviceArnHasBeenSet = true; m_managedDeviceArn = value; }
62 inline void SetManagedDeviceArn(Aws::String&& value) { m_managedDeviceArnHasBeenSet = true; m_managedDeviceArn = std::move(value); }
63 inline void SetManagedDeviceArn(const char* value) { m_managedDeviceArnHasBeenSet = true; m_managedDeviceArn.assign(value); }
64 inline DeviceSummary& WithManagedDeviceArn(const Aws::String& value) { SetManagedDeviceArn(value); return *this;}
65 inline DeviceSummary& WithManagedDeviceArn(Aws::String&& value) { SetManagedDeviceArn(std::move(value)); return *this;}
66 inline DeviceSummary& WithManagedDeviceArn(const char* value) { SetManagedDeviceArn(value); return *this;}
68
70
73 inline const Aws::String& GetManagedDeviceId() const{ return m_managedDeviceId; }
74 inline bool ManagedDeviceIdHasBeenSet() const { return m_managedDeviceIdHasBeenSet; }
75 inline void SetManagedDeviceId(const Aws::String& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = value; }
76 inline void SetManagedDeviceId(Aws::String&& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = std::move(value); }
77 inline void SetManagedDeviceId(const char* value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId.assign(value); }
78 inline DeviceSummary& WithManagedDeviceId(const Aws::String& value) { SetManagedDeviceId(value); return *this;}
79 inline DeviceSummary& WithManagedDeviceId(Aws::String&& value) { SetManagedDeviceId(std::move(value)); return *this;}
80 inline DeviceSummary& WithManagedDeviceId(const char* value) { SetManagedDeviceId(value); return *this;}
82
84
89 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
90 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
91 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
92 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
93 inline DeviceSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
94 inline DeviceSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
95 inline DeviceSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
96 inline DeviceSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
97 inline DeviceSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
98 inline DeviceSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
99 inline DeviceSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
100 inline DeviceSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
101 inline DeviceSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
103 private:
104
105 Aws::String m_associatedWithJob;
106 bool m_associatedWithJobHasBeenSet = false;
107
108 Aws::String m_managedDeviceArn;
109 bool m_managedDeviceArnHasBeenSet = false;
110
111 Aws::String m_managedDeviceId;
112 bool m_managedDeviceIdHasBeenSet = false;
113
115 bool m_tagsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SnowDeviceManagement
120} // namespace Aws
void SetManagedDeviceArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DeviceSummary & AddTags(Aws::String &&key, Aws::String &&value)
DeviceSummary & WithManagedDeviceArn(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API DeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceSummary & WithManagedDeviceArn(const Aws::String &value)
DeviceSummary & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetManagedDeviceId() const
DeviceSummary & WithManagedDeviceArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetManagedDeviceId(const Aws::String &value)
DeviceSummary & WithAssociatedWithJob(Aws::String &&value)
const Aws::String & GetManagedDeviceArn() const
const Aws::String & GetAssociatedWithJob() const
DeviceSummary & WithAssociatedWithJob(const char *value)
DeviceSummary & AddTags(const char *key, Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API DeviceSummary()
void SetAssociatedWithJob(const Aws::String &value)
DeviceSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DeviceSummary & WithManagedDeviceId(const char *value)
DeviceSummary & AddTags(Aws::String &&key, const char *value)
AWS_SNOWDEVICEMANAGEMENT_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue)
DeviceSummary & AddTags(const char *key, const char *value)
DeviceSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DeviceSummary & AddTags(const Aws::String &key, Aws::String &&value)
DeviceSummary & WithManagedDeviceId(const Aws::String &value)
DeviceSummary & WithManagedDeviceId(Aws::String &&value)
DeviceSummary & WithAssociatedWithJob(const Aws::String &value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceSummary & AddTags(const Aws::String &key, const 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