AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceSetSummary.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/fms/model/ResourceSetStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FMS
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FMS_API ResourceSetSummary() = default;
40
41
43
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 ResourceSetSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 ResourceSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 ResourceSetSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
86 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
87 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
88 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
89 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
90 ResourceSetSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
92
94
102 inline ResourceSetStatus GetResourceSetStatus() const { return m_resourceSetStatus; }
103 inline bool ResourceSetStatusHasBeenSet() const { return m_resourceSetStatusHasBeenSet; }
104 inline void SetResourceSetStatus(ResourceSetStatus value) { m_resourceSetStatusHasBeenSet = true; m_resourceSetStatus = value; }
107 private:
108
109 Aws::String m_id;
110 bool m_idHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::Utils::DateTime m_lastUpdateTime{};
119 bool m_lastUpdateTimeHasBeenSet = false;
120
122 bool m_resourceSetStatusHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace FMS
127} // namespace Aws
ResourceSetSummary & WithId(IdT &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
const Aws::String & GetId() const
AWS_FMS_API ResourceSetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetResourceSetStatus(ResourceSetStatus value)
ResourceSetSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
ResourceSetSummary & WithResourceSetStatus(ResourceSetStatus value)
AWS_FMS_API ResourceSetSummary()=default
ResourceSetSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
const Aws::String & GetName() const
AWS_FMS_API ResourceSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
ResourceSetStatus GetResourceSetStatus() const
ResourceSetSummary & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue