AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcsServicePlacementConstraintsDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetExpression() const{ return m_expression; }
48 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
49 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
50 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
51 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
53 inline AwsEcsServicePlacementConstraintsDetails& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
54 inline AwsEcsServicePlacementConstraintsDetails& WithExpression(const char* value) { SetExpression(value); return *this;}
56
58
64 inline const Aws::String& GetType() const{ return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
67 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
68 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
69 inline AwsEcsServicePlacementConstraintsDetails& WithType(const Aws::String& value) { SetType(value); return *this;}
70 inline AwsEcsServicePlacementConstraintsDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
71 inline AwsEcsServicePlacementConstraintsDetails& WithType(const char* value) { SetType(value); return *this;}
73 private:
74
75 Aws::String m_expression;
76 bool m_expressionHasBeenSet = false;
77
78 Aws::String m_type;
79 bool m_typeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SecurityHub
84} // namespace Aws
AWS_SECURITYHUB_API AwsEcsServicePlacementConstraintsDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEcsServicePlacementConstraintsDetails & WithExpression(const Aws::String &value)
AWS_SECURITYHUB_API AwsEcsServicePlacementConstraintsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEcsServicePlacementConstraintsDetails & WithExpression(const char *value)
AwsEcsServicePlacementConstraintsDetails & WithType(Aws::String &&value)
AwsEcsServicePlacementConstraintsDetails & WithExpression(Aws::String &&value)
AwsEcsServicePlacementConstraintsDetails & WithType(const Aws::String &value)
AwsEcsServicePlacementConstraintsDetails & WithType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue