AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
SubCheckResult.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 SsmSap
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSMSAP_API SubCheckResult() = default;
37 AWS_SSMSAP_API SubCheckResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 SubCheckResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 SubCheckResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 SubCheckResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::Vector<Aws::String>& GetReferences() const { return m_references; }
83 inline bool ReferencesHasBeenSet() const { return m_referencesHasBeenSet; }
84 template<typename ReferencesT = Aws::Vector<Aws::String>>
85 void SetReferences(ReferencesT&& value) { m_referencesHasBeenSet = true; m_references = std::forward<ReferencesT>(value); }
86 template<typename ReferencesT = Aws::Vector<Aws::String>>
87 SubCheckResult& WithReferences(ReferencesT&& value) { SetReferences(std::forward<ReferencesT>(value)); return *this;}
88 template<typename ReferencesT = Aws::String>
89 SubCheckResult& AddReferences(ReferencesT&& value) { m_referencesHasBeenSet = true; m_references.emplace_back(std::forward<ReferencesT>(value)); return *this; }
91 private:
92
93 Aws::String m_id;
94 bool m_idHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_references;
103 bool m_referencesHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SsmSap
108} // namespace Aws
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReferences(ReferencesT &&value)
SubCheckResult & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
AWS_SSMSAP_API SubCheckResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
const Aws::String & GetName() const
SubCheckResult & WithId(IdT &&value)
SubCheckResult & WithDescription(DescriptionT &&value)
SubCheckResult & AddReferences(ReferencesT &&value)
AWS_SSMSAP_API SubCheckResult()=default
AWS_SSMSAP_API SubCheckResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
const Aws::Vector< Aws::String > & GetReferences() const
SubCheckResult & WithReferences(ReferencesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue