AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline ResourceSetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline ResourceSetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline ResourceSetSummary& WithId(const char* value) { SetId(value); return *this;}
57
59
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline ResourceSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline ResourceSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline ResourceSetSummary& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline ResourceSetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline ResourceSetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline ResourceSetSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
92 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
93 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
94 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
95 inline ResourceSetSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
96 inline ResourceSetSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
98
100
108 inline const ResourceSetStatus& GetResourceSetStatus() const{ return m_resourceSetStatus; }
109 inline bool ResourceSetStatusHasBeenSet() const { return m_resourceSetStatusHasBeenSet; }
110 inline void SetResourceSetStatus(const ResourceSetStatus& value) { m_resourceSetStatusHasBeenSet = true; m_resourceSetStatus = value; }
111 inline void SetResourceSetStatus(ResourceSetStatus&& value) { m_resourceSetStatusHasBeenSet = true; m_resourceSetStatus = std::move(value); }
113 inline ResourceSetSummary& WithResourceSetStatus(ResourceSetStatus&& value) { SetResourceSetStatus(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_id;
118 bool m_idHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 Aws::Utils::DateTime m_lastUpdateTime;
127 bool m_lastUpdateTimeHasBeenSet = false;
128
129 ResourceSetStatus m_resourceSetStatus;
130 bool m_resourceSetStatusHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace FMS
135} // namespace Aws
const ResourceSetStatus & GetResourceSetStatus() const
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
ResourceSetSummary & WithId(const Aws::String &value)
ResourceSetSummary & WithId(const char *value)
ResourceSetSummary & WithResourceSetStatus(ResourceSetStatus &&value)
ResourceSetSummary & WithName(Aws::String &&value)
ResourceSetSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetResourceSetStatus(ResourceSetStatus &&value)
ResourceSetSummary & WithName(const char *value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
ResourceSetSummary & WithDescription(Aws::String &&value)
void SetResourceSetStatus(const ResourceSetStatus &value)
const Aws::String & GetId() const
AWS_FMS_API ResourceSetSummary(Aws::Utils::Json::JsonView jsonValue)
ResourceSetSummary & WithName(const Aws::String &value)
void SetId(const Aws::String &value)
void SetDescription(const Aws::String &value)
ResourceSetSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
ResourceSetSummary & WithResourceSetStatus(const ResourceSetStatus &value)
ResourceSetSummary & WithId(Aws::String &&value)
ResourceSetSummary & WithDescription(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
const Aws::String & GetName() const
ResourceSetSummary & WithDescription(const Aws::String &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_FMS_API ResourceSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue