AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExtendedKeyUsage.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/ExtendedKeyUsageName.h>
9#include <aws/core/utils/memory/stl/AWSString.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 ACM
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_ACM_API ExtendedKeyUsage();
42
43
45
48 inline const ExtendedKeyUsageName& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const ExtendedKeyUsageName& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(ExtendedKeyUsageName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline ExtendedKeyUsage& WithName(const ExtendedKeyUsageName& value) { SetName(value); return *this;}
53 inline ExtendedKeyUsage& WithName(ExtendedKeyUsageName&& value) { SetName(std::move(value)); return *this;}
55
57
71 inline const Aws::String& GetOID() const{ return m_oID; }
72 inline bool OIDHasBeenSet() const { return m_oIDHasBeenSet; }
73 inline void SetOID(const Aws::String& value) { m_oIDHasBeenSet = true; m_oID = value; }
74 inline void SetOID(Aws::String&& value) { m_oIDHasBeenSet = true; m_oID = std::move(value); }
75 inline void SetOID(const char* value) { m_oIDHasBeenSet = true; m_oID.assign(value); }
76 inline ExtendedKeyUsage& WithOID(const Aws::String& value) { SetOID(value); return *this;}
77 inline ExtendedKeyUsage& WithOID(Aws::String&& value) { SetOID(std::move(value)); return *this;}
78 inline ExtendedKeyUsage& WithOID(const char* value) { SetOID(value); return *this;}
80 private:
81
83 bool m_nameHasBeenSet = false;
84
85 Aws::String m_oID;
86 bool m_oIDHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ACM
91} // namespace Aws
ExtendedKeyUsage & WithName(ExtendedKeyUsageName &&value)
ExtendedKeyUsage & WithOID(Aws::String &&value)
void SetName(ExtendedKeyUsageName &&value)
AWS_ACM_API ExtendedKeyUsage(Aws::Utils::Json::JsonView jsonValue)
void SetOID(const Aws::String &value)
void SetName(const ExtendedKeyUsageName &value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
ExtendedKeyUsage & WithOID(const char *value)
const Aws::String & GetOID() const
AWS_ACM_API ExtendedKeyUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOID(Aws::String &&value)
ExtendedKeyUsage & WithName(const ExtendedKeyUsageName &value)
ExtendedKeyUsage & WithOID(const Aws::String &value)
const ExtendedKeyUsageName & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue