AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
AgentSpaceSummary.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 AgentSpaceSummary() = default;
32 AWS_SECURITYAGENT_API AgentSpaceSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API AgentSpaceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
41 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
42 template <typename AgentSpaceIdT = Aws::String>
43 void SetAgentSpaceId(AgentSpaceIdT&& value) {
44 m_agentSpaceIdHasBeenSet = true;
45 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
46 }
47 template <typename AgentSpaceIdT = Aws::String>
48 AgentSpaceSummary& WithAgentSpaceId(AgentSpaceIdT&& value) {
49 SetAgentSpaceId(std::forward<AgentSpaceIdT>(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>
66 AgentSpaceSummary& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
77 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
78 template <typename CreatedAtT = Aws::Utils::DateTime>
79 void SetCreatedAt(CreatedAtT&& value) {
80 m_createdAtHasBeenSet = true;
81 m_createdAt = std::forward<CreatedAtT>(value);
82 }
83 template <typename CreatedAtT = Aws::Utils::DateTime>
84 AgentSpaceSummary& WithCreatedAt(CreatedAtT&& value) {
85 SetCreatedAt(std::forward<CreatedAtT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
95 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
96 template <typename UpdatedAtT = Aws::Utils::DateTime>
97 void SetUpdatedAt(UpdatedAtT&& value) {
98 m_updatedAtHasBeenSet = true;
99 m_updatedAt = std::forward<UpdatedAtT>(value);
100 }
101 template <typename UpdatedAtT = Aws::Utils::DateTime>
102 AgentSpaceSummary& WithUpdatedAt(UpdatedAtT&& value) {
103 SetUpdatedAt(std::forward<UpdatedAtT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_agentSpaceId;
109
110 Aws::String m_name;
111
112 Aws::Utils::DateTime m_createdAt{};
113
114 Aws::Utils::DateTime m_updatedAt{};
115 bool m_agentSpaceIdHasBeenSet = false;
116 bool m_nameHasBeenSet = false;
117 bool m_createdAtHasBeenSet = false;
118 bool m_updatedAtHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace SecurityAgent
123} // namespace Aws
AgentSpaceSummary & WithName(NameT &&value)
AgentSpaceSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AgentSpaceSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_SECURITYAGENT_API AgentSpaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API AgentSpaceSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API AgentSpaceSummary()=default
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentSpaceSummary & WithAgentSpaceId(AgentSpaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue