AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StepAttributeCapability.h
1
6#pragma once
7#include <aws/deadline/Deadline_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 deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API StepAttributeCapability();
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline StepAttributeCapability& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline StepAttributeCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline StepAttributeCapability& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetAnyOf() const{ return m_anyOf; }
60 inline bool AnyOfHasBeenSet() const { return m_anyOfHasBeenSet; }
61 inline void SetAnyOf(const Aws::Vector<Aws::String>& value) { m_anyOfHasBeenSet = true; m_anyOf = value; }
62 inline void SetAnyOf(Aws::Vector<Aws::String>&& value) { m_anyOfHasBeenSet = true; m_anyOf = std::move(value); }
63 inline StepAttributeCapability& WithAnyOf(const Aws::Vector<Aws::String>& value) { SetAnyOf(value); return *this;}
64 inline StepAttributeCapability& WithAnyOf(Aws::Vector<Aws::String>&& value) { SetAnyOf(std::move(value)); return *this;}
65 inline StepAttributeCapability& AddAnyOf(const Aws::String& value) { m_anyOfHasBeenSet = true; m_anyOf.push_back(value); return *this; }
66 inline StepAttributeCapability& AddAnyOf(Aws::String&& value) { m_anyOfHasBeenSet = true; m_anyOf.push_back(std::move(value)); return *this; }
67 inline StepAttributeCapability& AddAnyOf(const char* value) { m_anyOfHasBeenSet = true; m_anyOf.push_back(value); return *this; }
69
71
74 inline const Aws::Vector<Aws::String>& GetAllOf() const{ return m_allOf; }
75 inline bool AllOfHasBeenSet() const { return m_allOfHasBeenSet; }
76 inline void SetAllOf(const Aws::Vector<Aws::String>& value) { m_allOfHasBeenSet = true; m_allOf = value; }
77 inline void SetAllOf(Aws::Vector<Aws::String>&& value) { m_allOfHasBeenSet = true; m_allOf = std::move(value); }
78 inline StepAttributeCapability& WithAllOf(const Aws::Vector<Aws::String>& value) { SetAllOf(value); return *this;}
79 inline StepAttributeCapability& WithAllOf(Aws::Vector<Aws::String>&& value) { SetAllOf(std::move(value)); return *this;}
80 inline StepAttributeCapability& AddAllOf(const Aws::String& value) { m_allOfHasBeenSet = true; m_allOf.push_back(value); return *this; }
81 inline StepAttributeCapability& AddAllOf(Aws::String&& value) { m_allOfHasBeenSet = true; m_allOf.push_back(std::move(value)); return *this; }
82 inline StepAttributeCapability& AddAllOf(const char* value) { m_allOfHasBeenSet = true; m_allOf.push_back(value); return *this; }
84 private:
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
90 bool m_anyOfHasBeenSet = false;
91
93 bool m_allOfHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace deadline
98} // namespace Aws
StepAttributeCapability & WithName(Aws::String &&value)
StepAttributeCapability & AddAllOf(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAllOf() const
StepAttributeCapability & AddAllOf(const char *value)
void SetAllOf(Aws::Vector< Aws::String > &&value)
StepAttributeCapability & WithAllOf(Aws::Vector< Aws::String > &&value)
StepAttributeCapability & AddAllOf(Aws::String &&value)
void SetAllOf(const Aws::Vector< Aws::String > &value)
StepAttributeCapability & WithAnyOf(const Aws::Vector< Aws::String > &value)
StepAttributeCapability & WithName(const Aws::String &value)
StepAttributeCapability & AddAnyOf(Aws::String &&value)
void SetAnyOf(const Aws::Vector< Aws::String > &value)
AWS_DEADLINE_API StepAttributeCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API StepAttributeCapability(Aws::Utils::Json::JsonView jsonValue)
StepAttributeCapability & AddAnyOf(const char *value)
StepAttributeCapability & WithAllOf(const Aws::Vector< Aws::String > &value)
StepAttributeCapability & WithAnyOf(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAnyOf() const
StepAttributeCapability & AddAnyOf(const Aws::String &value)
void SetAnyOf(Aws::Vector< Aws::String > &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
StepAttributeCapability & WithName(const char *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