AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Certificate.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_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 EMRContainers
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EMRCONTAINERS_API Certificate();
36 AWS_EMRCONTAINERS_API Certificate(Aws::Utils::Json::JsonView jsonValue);
37 AWS_EMRCONTAINERS_API Certificate& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
47 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
48 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
49 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
50 inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
51 inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
52 inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
54
56
59 inline const Aws::String& GetCertificateData() const{ return m_certificateData; }
60 inline bool CertificateDataHasBeenSet() const { return m_certificateDataHasBeenSet; }
61 inline void SetCertificateData(const Aws::String& value) { m_certificateDataHasBeenSet = true; m_certificateData = value; }
62 inline void SetCertificateData(Aws::String&& value) { m_certificateDataHasBeenSet = true; m_certificateData = std::move(value); }
63 inline void SetCertificateData(const char* value) { m_certificateDataHasBeenSet = true; m_certificateData.assign(value); }
64 inline Certificate& WithCertificateData(const Aws::String& value) { SetCertificateData(value); return *this;}
65 inline Certificate& WithCertificateData(Aws::String&& value) { SetCertificateData(std::move(value)); return *this;}
66 inline Certificate& WithCertificateData(const char* value) { SetCertificateData(value); return *this;}
68 private:
69
70 Aws::String m_certificateArn;
71 bool m_certificateArnHasBeenSet = false;
72
73 Aws::String m_certificateData;
74 bool m_certificateDataHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace EMRContainers
79} // namespace Aws
const Aws::String & GetCertificateData() const
Definition Certificate.h:59
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
Certificate & WithCertificateArn(const Aws::String &value)
Definition Certificate.h:50
const Aws::String & GetCertificateArn() const
Definition Certificate.h:45
Certificate & WithCertificateArn(const char *value)
Definition Certificate.h:52
Certificate & WithCertificateData(const Aws::String &value)
Definition Certificate.h:64
void SetCertificateArn(const Aws::String &value)
Definition Certificate.h:47
Certificate & WithCertificateData(const char *value)
Definition Certificate.h:66
void SetCertificateArn(const char *value)
Definition Certificate.h:49
Certificate & WithCertificateData(Aws::String &&value)
Definition Certificate.h:65
void SetCertificateData(Aws::String &&value)
Definition Certificate.h:62
Certificate & WithCertificateArn(Aws::String &&value)
Definition Certificate.h:51
AWS_EMRCONTAINERS_API Certificate()
void SetCertificateData(const char *value)
Definition Certificate.h:63
void SetCertificateData(const Aws::String &value)
Definition Certificate.h:61
AWS_EMRCONTAINERS_API Certificate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRCONTAINERS_API Certificate(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateArn(Aws::String &&value)
Definition Certificate.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue