AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KeyUsage.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/KeyUsageName.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 ACM
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ACM_API KeyUsage();
36 AWS_ACM_API KeyUsage(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const KeyUsageName& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const KeyUsageName& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(KeyUsageName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline KeyUsage& WithName(const KeyUsageName& value) { SetName(value); return *this;}
50 inline KeyUsage& WithName(KeyUsageName&& value) { SetName(std::move(value)); return *this;}
52 private:
53
54 KeyUsageName m_name;
55 bool m_nameHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace ACM
60} // namespace Aws
bool NameHasBeenSet() const
Definition KeyUsage.h:46
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
KeyUsage & WithName(const KeyUsageName &value)
Definition KeyUsage.h:49
void SetName(const KeyUsageName &value)
Definition KeyUsage.h:47
AWS_ACM_API KeyUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
KeyUsage & WithName(KeyUsageName &&value)
Definition KeyUsage.h:50
void SetName(KeyUsageName &&value)
Definition KeyUsage.h:48
AWS_ACM_API KeyUsage(Aws::Utils::Json::JsonView jsonValue)
const KeyUsageName & GetName() const
Definition KeyUsage.h:45
Aws::Utils::Json::JsonValue JsonValue