AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CapabilityDefinition.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/cloudextensions/model/AwsServiceCapability.h>
9#include <aws/cloudextensions/model/ExecCapability.h>
10#include <aws/cloudextensions/model/FileSystemCapability.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudExtensions {
22namespace Model {
23
31 public:
32 AWS_CLOUDEXTENSIONS_API CapabilityDefinition() = default;
33 AWS_CLOUDEXTENSIONS_API CapabilityDefinition(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLOUDEXTENSIONS_API CapabilityDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const FileSystemCapability& GetFilesystem() const { return m_filesystem; }
42 inline bool FilesystemHasBeenSet() const { return m_filesystemHasBeenSet; }
43 template <typename FilesystemT = FileSystemCapability>
44 void SetFilesystem(FilesystemT&& value) {
45 m_filesystemHasBeenSet = true;
46 m_filesystem = std::forward<FilesystemT>(value);
47 }
48 template <typename FilesystemT = FileSystemCapability>
49 CapabilityDefinition& WithFilesystem(FilesystemT&& value) {
50 SetFilesystem(std::forward<FilesystemT>(value));
51 return *this;
52 }
54
56
59 inline const AwsServiceCapability& GetAws() const { return m_aws; }
60 inline bool AwsHasBeenSet() const { return m_awsHasBeenSet; }
61 template <typename AwsT = AwsServiceCapability>
62 void SetAws(AwsT&& value) {
63 m_awsHasBeenSet = true;
64 m_aws = std::forward<AwsT>(value);
65 }
66 template <typename AwsT = AwsServiceCapability>
68 SetAws(std::forward<AwsT>(value));
69 return *this;
70 }
72
74
77 inline const ExecCapability& GetExec() const { return m_exec; }
78 inline bool ExecHasBeenSet() const { return m_execHasBeenSet; }
79 template <typename ExecT = ExecCapability>
80 void SetExec(ExecT&& value) {
81 m_execHasBeenSet = true;
82 m_exec = std::forward<ExecT>(value);
83 }
84 template <typename ExecT = ExecCapability>
86 SetExec(std::forward<ExecT>(value));
87 return *this;
88 }
90 private:
91 FileSystemCapability m_filesystem;
92
94
95 ExecCapability m_exec;
96 bool m_filesystemHasBeenSet = false;
97 bool m_awsHasBeenSet = false;
98 bool m_execHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace CloudExtensions
103} // namespace Aws
AWS_CLOUDEXTENSIONS_API CapabilityDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
CapabilityDefinition & WithFilesystem(FilesystemT &&value)
AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDEXTENSIONS_API CapabilityDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDEXTENSIONS_API CapabilityDefinition()=default
const FileSystemCapability & GetFilesystem() const
CapabilityDefinition & WithExec(ExecT &&value)
Aws::Utils::Json::JsonValue JsonValue