AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RelatedItem.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
36 AWS_SSMINCIDENTS_API RelatedItem() = default;
37 AWS_SSMINCIDENTS_API RelatedItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMINCIDENTS_API RelatedItem& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetGeneratedId() const { return m_generatedId; }
49 inline bool GeneratedIdHasBeenSet() const { return m_generatedIdHasBeenSet; }
50 template<typename GeneratedIdT = Aws::String>
51 void SetGeneratedId(GeneratedIdT&& value) { m_generatedIdHasBeenSet = true; m_generatedId = std::forward<GeneratedIdT>(value); }
52 template<typename GeneratedIdT = Aws::String>
53 RelatedItem& WithGeneratedId(GeneratedIdT&& value) { SetGeneratedId(std::forward<GeneratedIdT>(value)); return *this;}
55
57
60 inline const ItemIdentifier& GetIdentifier() const { return m_identifier; }
61 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
62 template<typename IdentifierT = ItemIdentifier>
63 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
64 template<typename IdentifierT = ItemIdentifier>
65 RelatedItem& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
67
69
72 inline const Aws::String& GetTitle() const { return m_title; }
73 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
74 template<typename TitleT = Aws::String>
75 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
76 template<typename TitleT = Aws::String>
77 RelatedItem& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
79 private:
80
81 Aws::String m_generatedId;
82 bool m_generatedIdHasBeenSet = false;
83
84 ItemIdentifier m_identifier;
85 bool m_identifierHasBeenSet = false;
86
87 Aws::String m_title;
88 bool m_titleHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SSMIncidents
93} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue