AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisioningHook.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOT_API ProvisioningHook();
39
40
42
46 inline const Aws::String& GetPayloadVersion() const{ return m_payloadVersion; }
47 inline bool PayloadVersionHasBeenSet() const { return m_payloadVersionHasBeenSet; }
48 inline void SetPayloadVersion(const Aws::String& value) { m_payloadVersionHasBeenSet = true; m_payloadVersion = value; }
49 inline void SetPayloadVersion(Aws::String&& value) { m_payloadVersionHasBeenSet = true; m_payloadVersion = std::move(value); }
50 inline void SetPayloadVersion(const char* value) { m_payloadVersionHasBeenSet = true; m_payloadVersion.assign(value); }
51 inline ProvisioningHook& WithPayloadVersion(const Aws::String& value) { SetPayloadVersion(value); return *this;}
52 inline ProvisioningHook& WithPayloadVersion(Aws::String&& value) { SetPayloadVersion(std::move(value)); return *this;}
53 inline ProvisioningHook& WithPayloadVersion(const char* value) { SetPayloadVersion(value); return *this;}
55
57
61 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
62 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
63 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
64 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
65 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
66 inline ProvisioningHook& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
67 inline ProvisioningHook& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
68 inline ProvisioningHook& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
70 private:
71
72 Aws::String m_payloadVersion;
73 bool m_payloadVersionHasBeenSet = false;
74
75 Aws::String m_targetArn;
76 bool m_targetArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoT
81} // namespace Aws
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPayloadVersion() const
AWS_IOT_API ProvisioningHook & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisioningHook & WithTargetArn(const Aws::String &value)
ProvisioningHook & WithPayloadVersion(const Aws::String &value)
void SetTargetArn(const Aws::String &value)
void SetPayloadVersion(Aws::String &&value)
ProvisioningHook & WithTargetArn(const char *value)
AWS_IOT_API ProvisioningHook(Aws::Utils::Json::JsonView jsonValue)
ProvisioningHook & WithPayloadVersion(const char *value)
const Aws::String & GetTargetArn() const
void SetTargetArn(Aws::String &&value)
ProvisioningHook & WithTargetArn(Aws::String &&value)
void SetPayloadVersion(const Aws::String &value)
ProvisioningHook & WithPayloadVersion(Aws::String &&value)
void SetPayloadVersion(const char *value)
void SetTargetArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue