AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcsTaskVolumeDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsEcsTaskVolumeHostDetails.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsEcsTaskVolumeDetails();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline AwsEcsTaskVolumeDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline AwsEcsTaskVolumeDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline AwsEcsTaskVolumeDetails& WithName(const char* value) { SetName(value); return *this;}
58
60
65 inline const AwsEcsTaskVolumeHostDetails& GetHost() const{ return m_host; }
66 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
67 inline void SetHost(const AwsEcsTaskVolumeHostDetails& value) { m_hostHasBeenSet = true; m_host = value; }
68 inline void SetHost(AwsEcsTaskVolumeHostDetails&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
69 inline AwsEcsTaskVolumeDetails& WithHost(const AwsEcsTaskVolumeHostDetails& value) { SetHost(value); return *this;}
70 inline AwsEcsTaskVolumeDetails& WithHost(AwsEcsTaskVolumeHostDetails&& value) { SetHost(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
78 bool m_hostHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SecurityHub
83} // namespace Aws
AwsEcsTaskVolumeDetails & WithName(const Aws::String &value)
AwsEcsTaskVolumeDetails & WithName(const char *value)
AwsEcsTaskVolumeDetails & WithHost(AwsEcsTaskVolumeHostDetails &&value)
AWS_SECURITYHUB_API AwsEcsTaskVolumeDetails(Aws::Utils::Json::JsonView jsonValue)
void SetHost(const AwsEcsTaskVolumeHostDetails &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHost(AwsEcsTaskVolumeHostDetails &&value)
AwsEcsTaskVolumeDetails & WithName(Aws::String &&value)
AwsEcsTaskVolumeDetails & WithHost(const AwsEcsTaskVolumeHostDetails &value)
const AwsEcsTaskVolumeHostDetails & GetHost() const
AWS_SECURITYHUB_API AwsEcsTaskVolumeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue