AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceData.h
1
6#pragma once
7#include <aws/rolesanywhere/RolesAnywhere_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 RolesAnywhere
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ROLESANYWHERE_API SourceData();
36 AWS_ROLESANYWHERE_API SourceData(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROLESANYWHERE_API SourceData& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetAcmPcaArn() const{ return m_acmPcaArn; }
48 inline bool AcmPcaArnHasBeenSet() const { return m_acmPcaArnHasBeenSet; }
49 inline void SetAcmPcaArn(const Aws::String& value) { m_acmPcaArnHasBeenSet = true; m_acmPcaArn = value; }
50 inline void SetAcmPcaArn(Aws::String&& value) { m_acmPcaArnHasBeenSet = true; m_acmPcaArn = std::move(value); }
51 inline void SetAcmPcaArn(const char* value) { m_acmPcaArnHasBeenSet = true; m_acmPcaArn.assign(value); }
52 inline SourceData& WithAcmPcaArn(const Aws::String& value) { SetAcmPcaArn(value); return *this;}
53 inline SourceData& WithAcmPcaArn(Aws::String&& value) { SetAcmPcaArn(std::move(value)); return *this;}
54 inline SourceData& WithAcmPcaArn(const char* value) { SetAcmPcaArn(value); return *this;}
56
58
62 inline const Aws::String& GetX509CertificateData() const{ return m_x509CertificateData; }
63 inline bool X509CertificateDataHasBeenSet() const { return m_x509CertificateDataHasBeenSet; }
64 inline void SetX509CertificateData(const Aws::String& value) { m_x509CertificateDataHasBeenSet = true; m_x509CertificateData = value; }
65 inline void SetX509CertificateData(Aws::String&& value) { m_x509CertificateDataHasBeenSet = true; m_x509CertificateData = std::move(value); }
66 inline void SetX509CertificateData(const char* value) { m_x509CertificateDataHasBeenSet = true; m_x509CertificateData.assign(value); }
67 inline SourceData& WithX509CertificateData(const Aws::String& value) { SetX509CertificateData(value); return *this;}
68 inline SourceData& WithX509CertificateData(Aws::String&& value) { SetX509CertificateData(std::move(value)); return *this;}
69 inline SourceData& WithX509CertificateData(const char* value) { SetX509CertificateData(value); return *this;}
71 private:
72
73 Aws::String m_acmPcaArn;
74 bool m_acmPcaArnHasBeenSet = false;
75
76 Aws::String m_x509CertificateData;
77 bool m_x509CertificateDataHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace RolesAnywhere
82} // namespace Aws
void SetAcmPcaArn(const Aws::String &value)
Definition SourceData.h:49
SourceData & WithAcmPcaArn(const char *value)
Definition SourceData.h:54
SourceData & WithX509CertificateData(Aws::String &&value)
Definition SourceData.h:68
AWS_ROLESANYWHERE_API SourceData(Aws::Utils::Json::JsonView jsonValue)
SourceData & WithAcmPcaArn(const Aws::String &value)
Definition SourceData.h:52
void SetAcmPcaArn(Aws::String &&value)
Definition SourceData.h:50
AWS_ROLESANYWHERE_API SourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceData & WithAcmPcaArn(Aws::String &&value)
Definition SourceData.h:53
SourceData & WithX509CertificateData(const Aws::String &value)
Definition SourceData.h:67
void SetAcmPcaArn(const char *value)
Definition SourceData.h:51
void SetX509CertificateData(const char *value)
Definition SourceData.h:66
const Aws::String & GetAcmPcaArn() const
Definition SourceData.h:47
void SetX509CertificateData(Aws::String &&value)
Definition SourceData.h:65
void SetX509CertificateData(const Aws::String &value)
Definition SourceData.h:64
const Aws::String & GetX509CertificateData() const
Definition SourceData.h:62
SourceData & WithX509CertificateData(const char *value)
Definition SourceData.h:69
AWS_ROLESANYWHERE_API SourceData()
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue