AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelatedItemsUpdate.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/model/RelatedItem.h>
9#include <aws/ssm-incidents/model/ItemIdentifier.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 SSMIncidents
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SSMINCIDENTS_API RelatedItemsUpdate();
36 AWS_SSMINCIDENTS_API RelatedItemsUpdate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RelatedItem& GetItemToAdd() const{ return m_itemToAdd; }
46 inline bool ItemToAddHasBeenSet() const { return m_itemToAddHasBeenSet; }
47 inline void SetItemToAdd(const RelatedItem& value) { m_itemToAddHasBeenSet = true; m_itemToAdd = value; }
48 inline void SetItemToAdd(RelatedItem&& value) { m_itemToAddHasBeenSet = true; m_itemToAdd = std::move(value); }
49 inline RelatedItemsUpdate& WithItemToAdd(const RelatedItem& value) { SetItemToAdd(value); return *this;}
50 inline RelatedItemsUpdate& WithItemToAdd(RelatedItem&& value) { SetItemToAdd(std::move(value)); return *this;}
52
54
57 inline const ItemIdentifier& GetItemToRemove() const{ return m_itemToRemove; }
58 inline bool ItemToRemoveHasBeenSet() const { return m_itemToRemoveHasBeenSet; }
59 inline void SetItemToRemove(const ItemIdentifier& value) { m_itemToRemoveHasBeenSet = true; m_itemToRemove = value; }
60 inline void SetItemToRemove(ItemIdentifier&& value) { m_itemToRemoveHasBeenSet = true; m_itemToRemove = std::move(value); }
61 inline RelatedItemsUpdate& WithItemToRemove(const ItemIdentifier& value) { SetItemToRemove(value); return *this;}
62 inline RelatedItemsUpdate& WithItemToRemove(ItemIdentifier&& value) { SetItemToRemove(std::move(value)); return *this;}
64 private:
65
66 RelatedItem m_itemToAdd;
67 bool m_itemToAddHasBeenSet = false;
68
69 ItemIdentifier m_itemToRemove;
70 bool m_itemToRemoveHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SSMIncidents
75} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue