AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdentifierT = ResourceIdentifier>
48 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
49 template<typename IdentifierT = ResourceIdentifier>
50 ListGroupResourcesItem& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
52
54
59 inline const ResourceStatus& GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 template<typename StatusT = ResourceStatus>
62 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
63 template<typename StatusT = ResourceStatus>
64 ListGroupResourcesItem& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(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(StatusT &&value)
AWS_RESOURCEGROUPS_API ListGroupResourcesItem()=default
ListGroupResourcesItem & WithIdentifier(IdentifierT &&value)
AWS_RESOURCEGROUPS_API ListGroupResourcesItem(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue