AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcsServicePlacementStrategiesDetails.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
52 inline const Aws::String& GetField() const{ return m_field; }
53 inline bool FieldHasBeenSet() const { return m_fieldHasBeenSet; }
54 inline void SetField(const Aws::String& value) { m_fieldHasBeenSet = true; m_field = value; }
55 inline void SetField(Aws::String&& value) { m_fieldHasBeenSet = true; m_field = std::move(value); }
56 inline void SetField(const char* value) { m_fieldHasBeenSet = true; m_field.assign(value); }
57 inline AwsEcsServicePlacementStrategiesDetails& WithField(const Aws::String& value) { SetField(value); return *this;}
58 inline AwsEcsServicePlacementStrategiesDetails& WithField(Aws::String&& value) { SetField(std::move(value)); return *this;}
59 inline AwsEcsServicePlacementStrategiesDetails& WithField(const char* value) { SetField(value); return *this;}
61
63
73 inline const Aws::String& GetType() const{ return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
76 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
77 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
78 inline AwsEcsServicePlacementStrategiesDetails& WithType(const Aws::String& value) { SetType(value); return *this;}
79 inline AwsEcsServicePlacementStrategiesDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
80 inline AwsEcsServicePlacementStrategiesDetails& WithType(const char* value) { SetType(value); return *this;}
82 private:
83
84 Aws::String m_field;
85 bool m_fieldHasBeenSet = false;
86
87 Aws::String m_type;
88 bool m_typeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SecurityHub
93} // namespace Aws
AWS_SECURITYHUB_API AwsEcsServicePlacementStrategiesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEcsServicePlacementStrategiesDetails & WithField(Aws::String &&value)
AWS_SECURITYHUB_API AwsEcsServicePlacementStrategiesDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEcsServicePlacementStrategiesDetails & WithField(const char *value)
AwsEcsServicePlacementStrategiesDetails & WithType(const char *value)
AwsEcsServicePlacementStrategiesDetails & WithType(Aws::String &&value)
AwsEcsServicePlacementStrategiesDetails & WithField(const Aws::String &value)
AwsEcsServicePlacementStrategiesDetails & WithType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue