AWS SDK for C++

AWS SDK for C++ Version 1.11.881

Loading...
Searching...
No Matches
CaCertificateSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityAgent {
20namespace Model {
21
29 public:
30 AWS_SECURITYAGENT_API CaCertificateSource() = default;
31 AWS_SECURITYAGENT_API CaCertificateSource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API CaCertificateSource& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetInlinePem() const { return m_inlinePem; }
40 inline bool InlinePemHasBeenSet() const { return m_inlinePemHasBeenSet; }
41 template <typename InlinePemT = Aws::String>
42 void SetInlinePem(InlinePemT&& value) {
43 m_inlinePemHasBeenSet = true;
44 m_inlinePem = std::forward<InlinePemT>(value);
45 }
46 template <typename InlinePemT = Aws::String>
47 CaCertificateSource& WithInlinePem(InlinePemT&& value) {
48 SetInlinePem(std::forward<InlinePemT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArtifactId() const { return m_artifactId; }
58 inline bool ArtifactIdHasBeenSet() const { return m_artifactIdHasBeenSet; }
59 template <typename ArtifactIdT = Aws::String>
60 void SetArtifactId(ArtifactIdT&& value) {
61 m_artifactIdHasBeenSet = true;
62 m_artifactId = std::forward<ArtifactIdT>(value);
63 }
64 template <typename ArtifactIdT = Aws::String>
65 CaCertificateSource& WithArtifactId(ArtifactIdT&& value) {
66 SetArtifactId(std::forward<ArtifactIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetS3Location() const { return m_s3Location; }
76 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
77 template <typename S3LocationT = Aws::String>
78 void SetS3Location(S3LocationT&& value) {
79 m_s3LocationHasBeenSet = true;
80 m_s3Location = std::forward<S3LocationT>(value);
81 }
82 template <typename S3LocationT = Aws::String>
83 CaCertificateSource& WithS3Location(S3LocationT&& value) {
84 SetS3Location(std::forward<S3LocationT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_inlinePem;
90
91 Aws::String m_artifactId;
92
93 Aws::String m_s3Location;
94 bool m_inlinePemHasBeenSet = false;
95 bool m_artifactIdHasBeenSet = false;
96 bool m_s3LocationHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SecurityAgent
101} // namespace Aws
CaCertificateSource & WithInlinePem(InlinePemT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
CaCertificateSource & WithArtifactId(ArtifactIdT &&value)
AWS_SECURITYAGENT_API CaCertificateSource()=default
AWS_SECURITYAGENT_API CaCertificateSource(Aws::Utils::Json::JsonView jsonValue)
CaCertificateSource & WithS3Location(S3LocationT &&value)
AWS_SECURITYAGENT_API CaCertificateSource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue