AWS SDK for C++

AWS SDK for C++ Version 1.11.925

Loading...
Searching...
No Matches
EksSeccompProfile.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/EksSeccompProfileType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Batch {
21namespace Model {
22
32 public:
33 AWS_BATCH_API EksSeccompProfile() = default;
36 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
48 inline EksSeccompProfileType GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(EksSeccompProfileType value) {
51 m_typeHasBeenSet = true;
52 m_type = value;
53 }
55 SetType(value);
56 return *this;
57 }
59
61
71 inline const Aws::String& GetLocalhostProfile() const { return m_localhostProfile; }
72 inline bool LocalhostProfileHasBeenSet() const { return m_localhostProfileHasBeenSet; }
73 template <typename LocalhostProfileT = Aws::String>
74 void SetLocalhostProfile(LocalhostProfileT&& value) {
75 m_localhostProfileHasBeenSet = true;
76 m_localhostProfile = std::forward<LocalhostProfileT>(value);
77 }
78 template <typename LocalhostProfileT = Aws::String>
79 EksSeccompProfile& WithLocalhostProfile(LocalhostProfileT&& value) {
80 SetLocalhostProfile(std::forward<LocalhostProfileT>(value));
81 return *this;
82 }
84 private:
86
87 Aws::String m_localhostProfile;
88 bool m_typeHasBeenSet = false;
89 bool m_localhostProfileHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Batch
94} // namespace Aws
const Aws::String & GetLocalhostProfile() const
EksSeccompProfile & WithLocalhostProfile(LocalhostProfileT &&value)
EksSeccompProfileType GetType() const
void SetLocalhostProfile(LocalhostProfileT &&value)
AWS_BATCH_API EksSeccompProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EksSeccompProfile(Aws::Utils::Json::JsonView jsonValue)
void SetType(EksSeccompProfileType value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API EksSeccompProfile()=default
EksSeccompProfile & WithType(EksSeccompProfileType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue