AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGroupResourcesItem.h
1
6#pragma once
7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/resource-groups/model/ResourceIdentifier.h>
9#include <aws/resource-groups/model/ResourceStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ResourceGroups
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_RESOURCEGROUPS_API ListGroupResourcesItem();
38 AWS_RESOURCEGROUPS_API ListGroupResourcesItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const ResourceIdentifier& GetIdentifier() const{ return m_identifier; }
46 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
47 inline void SetIdentifier(const ResourceIdentifier& value) { m_identifierHasBeenSet = true; m_identifier = value; }
48 inline void SetIdentifier(ResourceIdentifier&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
49 inline ListGroupResourcesItem& WithIdentifier(const ResourceIdentifier& value) { SetIdentifier(value); return *this;}
50 inline ListGroupResourcesItem& WithIdentifier(ResourceIdentifier&& value) { SetIdentifier(std::move(value)); return *this;}
52
54
59 inline const ResourceStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline ListGroupResourcesItem& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
64 inline ListGroupResourcesItem& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
66 private:
67
68 ResourceIdentifier m_identifier;
69 bool m_identifierHasBeenSet = false;
70
71 ResourceStatus m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ResourceGroups
77} // namespace Aws
AWS_RESOURCEGROUPS_API ListGroupResourcesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
ListGroupResourcesItem & WithStatus(ResourceStatus &&value)
ListGroupResourcesItem & WithIdentifier(const ResourceIdentifier &value)
ListGroupResourcesItem & WithIdentifier(ResourceIdentifier &&value)
ListGroupResourcesItem & WithStatus(const ResourceStatus &value)
AWS_RESOURCEGROUPS_API ListGroupResourcesItem(Aws::Utils::Json::JsonView jsonValue)
void SetIdentifier(const ResourceIdentifier &value)
Aws::Utils::Json::JsonValue JsonValue