AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskEphemeralStorage.h
1
6#pragma once
7#include <aws/ecs/ECS_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 ECS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ECS_API TaskEphemeralStorage();
39
40
42
47 inline int GetSizeInGiB() const{ return m_sizeInGiB; }
48 inline bool SizeInGiBHasBeenSet() const { return m_sizeInGiBHasBeenSet; }
49 inline void SetSizeInGiB(int value) { m_sizeInGiBHasBeenSet = true; m_sizeInGiB = value; }
50 inline TaskEphemeralStorage& WithSizeInGiB(int value) { SetSizeInGiB(value); return *this;}
52
54
58 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
59 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
60 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
61 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
62 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
63 inline TaskEphemeralStorage& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
64 inline TaskEphemeralStorage& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
65 inline TaskEphemeralStorage& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
67 private:
68
69 int m_sizeInGiB;
70 bool m_sizeInGiBHasBeenSet = false;
71
72 Aws::String m_kmsKeyId;
73 bool m_kmsKeyIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ECS
78} // namespace Aws
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetKmsKeyId() const
TaskEphemeralStorage & WithKmsKeyId(const char *value)
TaskEphemeralStorage & WithKmsKeyId(const Aws::String &value)
TaskEphemeralStorage & WithSizeInGiB(int value)
AWS_ECS_API TaskEphemeralStorage(Aws::Utils::Json::JsonView jsonValue)
TaskEphemeralStorage & WithKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
AWS_ECS_API TaskEphemeralStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue