AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
ConfigurationCheckDefinition.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/ssm-sap/model/ConfigurationCheckType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm-sap/model/ApplicationType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SsmSap
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SSMSAP_API ConfigurationCheckDefinition() = default;
41 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline ConfigurationCheckType GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(ConfigurationCheckType value) { m_idHasBeenSet = true; m_id = value; }
51 inline ConfigurationCheckDefinition& WithId(ConfigurationCheckType value) { SetId(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 ConfigurationCheckDefinition& 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 ConfigurationCheckDefinition& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
83 inline const Aws::Vector<ApplicationType>& GetApplicableApplicationTypes() const { return m_applicableApplicationTypes; }
84 inline bool ApplicableApplicationTypesHasBeenSet() const { return m_applicableApplicationTypesHasBeenSet; }
85 template<typename ApplicableApplicationTypesT = Aws::Vector<ApplicationType>>
86 void SetApplicableApplicationTypes(ApplicableApplicationTypesT&& value) { m_applicableApplicationTypesHasBeenSet = true; m_applicableApplicationTypes = std::forward<ApplicableApplicationTypesT>(value); }
87 template<typename ApplicableApplicationTypesT = Aws::Vector<ApplicationType>>
88 ConfigurationCheckDefinition& WithApplicableApplicationTypes(ApplicableApplicationTypesT&& value) { SetApplicableApplicationTypes(std::forward<ApplicableApplicationTypesT>(value)); return *this;}
89 inline ConfigurationCheckDefinition& AddApplicableApplicationTypes(ApplicationType value) { m_applicableApplicationTypesHasBeenSet = true; m_applicableApplicationTypes.push_back(value); return *this; }
91 private:
92
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<ApplicationType> m_applicableApplicationTypes;
103 bool m_applicableApplicationTypesHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SsmSap
108} // namespace Aws
ConfigurationCheckDefinition & WithId(ConfigurationCheckType value)
const Aws::Vector< ApplicationType > & GetApplicableApplicationTypes() const
ConfigurationCheckDefinition & WithDescription(DescriptionT &&value)
AWS_SSMSAP_API ConfigurationCheckDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationCheckDefinition & AddApplicableApplicationTypes(ApplicationType value)
ConfigurationCheckDefinition & WithApplicableApplicationTypes(ApplicableApplicationTypesT &&value)
void SetApplicableApplicationTypes(ApplicableApplicationTypesT &&value)
ConfigurationCheckDefinition & WithName(NameT &&value)
AWS_SSMSAP_API ConfigurationCheckDefinition()=default
AWS_SSMSAP_API ConfigurationCheckDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue