AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_SECURITYHUB_API AwsEcsServicePlacementStrategiesDetails() = default;
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 template<typename FieldT = Aws::String>
55 void SetField(FieldT&& value) { m_fieldHasBeenSet = true; m_field = std::forward<FieldT>(value); }
56 template<typename FieldT = Aws::String>
57 AwsEcsServicePlacementStrategiesDetails& WithField(FieldT&& value) { SetField(std::forward<FieldT>(value)); return *this;}
59
61
71 inline const Aws::String& GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 template<typename TypeT = Aws::String>
74 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
75 template<typename TypeT = Aws::String>
76 AwsEcsServicePlacementStrategiesDetails& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
78 private:
79
80 Aws::String m_field;
81 bool m_fieldHasBeenSet = false;
82
83 Aws::String m_type;
84 bool m_typeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SecurityHub
89} // namespace Aws
AWS_SECURITYHUB_API AwsEcsServicePlacementStrategiesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsEcsServicePlacementStrategiesDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue