AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
29 public:
30 AWS_SECURITYAGENT_API AgentSpaceSummary() = default;
31 AWS_SECURITYAGENT_API AgentSpaceSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API AgentSpaceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
40 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
41 template <typename AgentSpaceIdT = Aws::String>
42 void SetAgentSpaceId(AgentSpaceIdT&& value) {
43 m_agentSpaceIdHasBeenSet = true;
44 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
45 }
46 template <typename AgentSpaceIdT = Aws::String>
47 AgentSpaceSummary& WithAgentSpaceId(AgentSpaceIdT&& value) {
48 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 AgentSpaceSummary& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
76 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
77 template <typename CreatedAtT = Aws::Utils::DateTime>
78 void SetCreatedAt(CreatedAtT&& value) {
79 m_createdAtHasBeenSet = true;
80 m_createdAt = std::forward<CreatedAtT>(value);
81 }
82 template <typename CreatedAtT = Aws::Utils::DateTime>
83 AgentSpaceSummary& WithCreatedAt(CreatedAtT&& value) {
84 SetCreatedAt(std::forward<CreatedAtT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
94 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
95 template <typename UpdatedAtT = Aws::Utils::DateTime>
96 void SetUpdatedAt(UpdatedAtT&& value) {
97 m_updatedAtHasBeenSet = true;
98 m_updatedAt = std::forward<UpdatedAtT>(value);
99 }
100 template <typename UpdatedAtT = Aws::Utils::DateTime>
101 AgentSpaceSummary& WithUpdatedAt(UpdatedAtT&& value) {
102 SetUpdatedAt(std::forward<UpdatedAtT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_agentSpaceId;
108
109 Aws::String m_name;
110
111 Aws::Utils::DateTime m_createdAt{};
112
113 Aws::Utils::DateTime m_updatedAt{};
114 bool m_agentSpaceIdHasBeenSet = false;
115 bool m_nameHasBeenSet = false;
116 bool m_createdAtHasBeenSet = false;
117 bool m_updatedAtHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SecurityAgent
122} // 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