AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Core.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Greengrass
22{
23namespace Model
24{
25
31 class Core
32 {
33 public:
34 AWS_GREENGRASS_API Core();
35 AWS_GREENGRASS_API Core(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GREENGRASS_API Core& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
45 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
46 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
47 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
48 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
49 inline Core& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
50 inline Core& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
51 inline Core& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
53
55
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline Core& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline Core& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline Core& WithId(const char* value) { SetId(value); return *this;}
69
71
74 inline bool GetSyncShadow() const{ return m_syncShadow; }
75 inline bool SyncShadowHasBeenSet() const { return m_syncShadowHasBeenSet; }
76 inline void SetSyncShadow(bool value) { m_syncShadowHasBeenSet = true; m_syncShadow = value; }
77 inline Core& WithSyncShadow(bool value) { SetSyncShadow(value); return *this;}
79
81
84 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
85 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
86 inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
87 inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
88 inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
89 inline Core& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
90 inline Core& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
91 inline Core& WithThingArn(const char* value) { SetThingArn(value); return *this;}
93 private:
94
95 Aws::String m_certificateArn;
96 bool m_certificateArnHasBeenSet = false;
97
98 Aws::String m_id;
99 bool m_idHasBeenSet = false;
100
101 bool m_syncShadow;
102 bool m_syncShadowHasBeenSet = false;
103
104 Aws::String m_thingArn;
105 bool m_thingArnHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Greengrass
110} // namespace Aws
Core & WithId(const Aws::String &value)
Definition Core.h:65
void SetCertificateArn(const char *value)
Definition Core.h:48
void SetSyncShadow(bool value)
Definition Core.h:76
void SetId(const Aws::String &value)
Definition Core.h:62
void SetThingArn(Aws::String &&value)
Definition Core.h:87
void SetId(const char *value)
Definition Core.h:64
bool IdHasBeenSet() const
Definition Core.h:61
const Aws::String & GetId() const
Definition Core.h:60
Core & WithCertificateArn(Aws::String &&value)
Definition Core.h:50
void SetThingArn(const char *value)
Definition Core.h:88
bool GetSyncShadow() const
Definition Core.h:74
bool CertificateArnHasBeenSet() const
Definition Core.h:45
void SetCertificateArn(const Aws::String &value)
Definition Core.h:46
const Aws::String & GetThingArn() const
Definition Core.h:84
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
Core & WithCertificateArn(const Aws::String &value)
Definition Core.h:49
Core & WithCertificateArn(const char *value)
Definition Core.h:51
void SetCertificateArn(Aws::String &&value)
Definition Core.h:47
bool SyncShadowHasBeenSet() const
Definition Core.h:75
Core & WithThingArn(Aws::String &&value)
Definition Core.h:90
Core & WithId(const char *value)
Definition Core.h:67
Core & WithThingArn(const Aws::String &value)
Definition Core.h:89
const Aws::String & GetCertificateArn() const
Definition Core.h:44
void SetThingArn(const Aws::String &value)
Definition Core.h:86
AWS_GREENGRASS_API Core()
void SetId(Aws::String &&value)
Definition Core.h:63
Core & WithThingArn(const char *value)
Definition Core.h:91
AWS_GREENGRASS_API Core(Aws::Utils::Json::JsonView jsonValue)
Core & WithId(Aws::String &&value)
Definition Core.h:66
Core & WithSyncShadow(bool value)
Definition Core.h:77
AWS_GREENGRASS_API Core & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThingArnHasBeenSet() const
Definition Core.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue