AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MitigationActionIdentifier.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 IoT
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetActionName() const{ return m_actionName; }
47 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
48 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
49 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
50 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
51 inline MitigationActionIdentifier& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
52 inline MitigationActionIdentifier& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
53 inline MitigationActionIdentifier& WithActionName(const char* value) { SetActionName(value); return *this;}
55
57
60 inline const Aws::String& GetActionArn() const{ return m_actionArn; }
61 inline bool ActionArnHasBeenSet() const { return m_actionArnHasBeenSet; }
62 inline void SetActionArn(const Aws::String& value) { m_actionArnHasBeenSet = true; m_actionArn = value; }
63 inline void SetActionArn(Aws::String&& value) { m_actionArnHasBeenSet = true; m_actionArn = std::move(value); }
64 inline void SetActionArn(const char* value) { m_actionArnHasBeenSet = true; m_actionArn.assign(value); }
65 inline MitigationActionIdentifier& WithActionArn(const Aws::String& value) { SetActionArn(value); return *this;}
66 inline MitigationActionIdentifier& WithActionArn(Aws::String&& value) { SetActionArn(std::move(value)); return *this;}
67 inline MitigationActionIdentifier& WithActionArn(const char* value) { SetActionArn(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
75 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
76 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
77 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
79 inline MitigationActionIdentifier& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_actionName;
84 bool m_actionNameHasBeenSet = false;
85
86 Aws::String m_actionArn;
87 bool m_actionArnHasBeenSet = false;
88
89 Aws::Utils::DateTime m_creationDate;
90 bool m_creationDateHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoT
95} // namespace Aws
MitigationActionIdentifier & WithCreationDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
AWS_IOT_API MitigationActionIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
MitigationActionIdentifier & WithActionArn(const char *value)
MitigationActionIdentifier & WithCreationDate(Aws::Utils::DateTime &&value)
MitigationActionIdentifier & WithActionName(Aws::String &&value)
MitigationActionIdentifier & WithActionArn(const Aws::String &value)
AWS_IOT_API MitigationActionIdentifier(Aws::Utils::Json::JsonView jsonValue)
MitigationActionIdentifier & WithActionName(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
MitigationActionIdentifier & WithActionName(const Aws::String &value)
MitigationActionIdentifier & WithActionArn(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue