AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGeneratedId(const Aws::String& value) { m_generatedIdHasBeenSet = true; m_generatedId = value; }
51 inline void SetGeneratedId(Aws::String&& value) { m_generatedIdHasBeenSet = true; m_generatedId = std::move(value); }
52 inline void SetGeneratedId(const char* value) { m_generatedIdHasBeenSet = true; m_generatedId.assign(value); }
53 inline RelatedItem& WithGeneratedId(const Aws::String& value) { SetGeneratedId(value); return *this;}
54 inline RelatedItem& WithGeneratedId(Aws::String&& value) { SetGeneratedId(std::move(value)); return *this;}
55 inline RelatedItem& WithGeneratedId(const char* value) { SetGeneratedId(value); return *this;}
57
59
62 inline const ItemIdentifier& GetIdentifier() const{ return m_identifier; }
63 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
64 inline void SetIdentifier(const ItemIdentifier& value) { m_identifierHasBeenSet = true; m_identifier = value; }
65 inline void SetIdentifier(ItemIdentifier&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
66 inline RelatedItem& WithIdentifier(const ItemIdentifier& value) { SetIdentifier(value); return *this;}
67 inline RelatedItem& WithIdentifier(ItemIdentifier&& value) { SetIdentifier(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetTitle() const{ return m_title; }
75 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
76 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
77 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
78 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
79 inline RelatedItem& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
80 inline RelatedItem& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
81 inline RelatedItem& WithTitle(const char* value) { SetTitle(value); return *this;}
83 private:
84
85 Aws::String m_generatedId;
86 bool m_generatedIdHasBeenSet = false;
87
88 ItemIdentifier m_identifier;
89 bool m_identifierHasBeenSet = false;
90
91 Aws::String m_title;
92 bool m_titleHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SSMIncidents
97} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue