AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DependentEntity.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_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 SSMContacts
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SSMCONTACTS_API DependentEntity();
38 AWS_SSMCONTACTS_API DependentEntity(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMCONTACTS_API DependentEntity& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetRelationType() const{ return m_relationType; }
49 inline bool RelationTypeHasBeenSet() const { return m_relationTypeHasBeenSet; }
50 inline void SetRelationType(const Aws::String& value) { m_relationTypeHasBeenSet = true; m_relationType = value; }
51 inline void SetRelationType(Aws::String&& value) { m_relationTypeHasBeenSet = true; m_relationType = std::move(value); }
52 inline void SetRelationType(const char* value) { m_relationTypeHasBeenSet = true; m_relationType.assign(value); }
53 inline DependentEntity& WithRelationType(const Aws::String& value) { SetRelationType(value); return *this;}
54 inline DependentEntity& WithRelationType(Aws::String&& value) { SetRelationType(std::move(value)); return *this;}
55 inline DependentEntity& WithRelationType(const char* value) { SetRelationType(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetDependentResourceIds() const{ return m_dependentResourceIds; }
63 inline bool DependentResourceIdsHasBeenSet() const { return m_dependentResourceIdsHasBeenSet; }
64 inline void SetDependentResourceIds(const Aws::Vector<Aws::String>& value) { m_dependentResourceIdsHasBeenSet = true; m_dependentResourceIds = value; }
65 inline void SetDependentResourceIds(Aws::Vector<Aws::String>&& value) { m_dependentResourceIdsHasBeenSet = true; m_dependentResourceIds = std::move(value); }
68 inline DependentEntity& AddDependentResourceIds(const Aws::String& value) { m_dependentResourceIdsHasBeenSet = true; m_dependentResourceIds.push_back(value); return *this; }
69 inline DependentEntity& AddDependentResourceIds(Aws::String&& value) { m_dependentResourceIdsHasBeenSet = true; m_dependentResourceIds.push_back(std::move(value)); return *this; }
70 inline DependentEntity& AddDependentResourceIds(const char* value) { m_dependentResourceIdsHasBeenSet = true; m_dependentResourceIds.push_back(value); return *this; }
72 private:
73
74 Aws::String m_relationType;
75 bool m_relationTypeHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_dependentResourceIds;
78 bool m_dependentResourceIdsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SSMContacts
83} // namespace Aws
AWS_SSMCONTACTS_API DependentEntity(Aws::Utils::Json::JsonView jsonValue)
DependentEntity & WithDependentResourceIds(Aws::Vector< Aws::String > &&value)
DependentEntity & AddDependentResourceIds(const char *value)
void SetRelationType(const Aws::String &value)
DependentEntity & WithRelationType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDependentResourceIds() const
void SetRelationType(Aws::String &&value)
void SetDependentResourceIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetRelationType() const
void SetDependentResourceIds(const Aws::Vector< Aws::String > &value)
DependentEntity & WithRelationType(const char *value)
DependentEntity & AddDependentResourceIds(Aws::String &&value)
DependentEntity & AddDependentResourceIds(const Aws::String &value)
DependentEntity & WithRelationType(Aws::String &&value)
AWS_SSMCONTACTS_API DependentEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
DependentEntity & WithDependentResourceIds(const Aws::Vector< Aws::String > &value)
AWS_SSMCONTACTS_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