AWS SDK for C++

AWS SDK for C++ Version 1.11.846

Loading...
Searching...
No Matches
SecurityRequirementSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityAgent {
21namespace Model {
22
30 public:
31 AWS_SECURITYAGENT_API SecurityRequirementSummary() = default;
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetPackId() const { return m_packId; }
41 inline bool PackIdHasBeenSet() const { return m_packIdHasBeenSet; }
42 template <typename PackIdT = Aws::String>
43 void SetPackId(PackIdT&& value) {
44 m_packIdHasBeenSet = true;
45 m_packId = std::forward<PackIdT>(value);
46 }
47 template <typename PackIdT = Aws::String>
49 SetPackId(std::forward<PackIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
95 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) {
98 m_createdAtHasBeenSet = true;
99 m_createdAt = std::forward<CreatedAtT>(value);
100 }
101 template <typename CreatedAtT = Aws::Utils::DateTime>
103 SetCreatedAt(std::forward<CreatedAtT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
114 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
115 template <typename UpdatedAtT = Aws::Utils::DateTime>
116 void SetUpdatedAt(UpdatedAtT&& value) {
117 m_updatedAtHasBeenSet = true;
118 m_updatedAt = std::forward<UpdatedAtT>(value);
119 }
120 template <typename UpdatedAtT = Aws::Utils::DateTime>
122 SetUpdatedAt(std::forward<UpdatedAtT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_packId;
128
129 Aws::String m_name;
130
131 Aws::String m_description;
132
133 Aws::Utils::DateTime m_createdAt{};
134
135 Aws::Utils::DateTime m_updatedAt{};
136 bool m_packIdHasBeenSet = false;
137 bool m_nameHasBeenSet = false;
138 bool m_descriptionHasBeenSet = false;
139 bool m_createdAtHasBeenSet = false;
140 bool m_updatedAtHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace SecurityAgent
145} // namespace Aws
AWS_SECURITYAGENT_API SecurityRequirementSummary()=default
SecurityRequirementSummary & WithDescription(DescriptionT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityRequirementSummary & WithName(NameT &&value)
AWS_SECURITYAGENT_API SecurityRequirementSummary(Aws::Utils::Json::JsonView jsonValue)
SecurityRequirementSummary & WithPackId(PackIdT &&value)
SecurityRequirementSummary & WithCreatedAt(CreatedAtT &&value)
SecurityRequirementSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_SECURITYAGENT_API SecurityRequirementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue