AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
DocumentInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9#include <aws/securityagent/model/IntegratedDocument.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityAgent {
21namespace Model {
22
30 public:
31 AWS_SECURITYAGENT_API DocumentInfo() = default;
32 AWS_SECURITYAGENT_API DocumentInfo(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API DocumentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetS3Location() const { return m_s3Location; }
41 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
42 template <typename S3LocationT = Aws::String>
43 void SetS3Location(S3LocationT&& value) {
44 m_s3LocationHasBeenSet = true;
45 m_s3Location = std::forward<S3LocationT>(value);
46 }
47 template <typename S3LocationT = Aws::String>
48 DocumentInfo& WithS3Location(S3LocationT&& value) {
49 SetS3Location(std::forward<S3LocationT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArtifactId() const { return m_artifactId; }
59 inline bool ArtifactIdHasBeenSet() const { return m_artifactIdHasBeenSet; }
60 template <typename ArtifactIdT = Aws::String>
61 void SetArtifactId(ArtifactIdT&& value) {
62 m_artifactIdHasBeenSet = true;
63 m_artifactId = std::forward<ArtifactIdT>(value);
64 }
65 template <typename ArtifactIdT = Aws::String>
66 DocumentInfo& WithArtifactId(ArtifactIdT&& value) {
67 SetArtifactId(std::forward<ArtifactIdT>(value));
68 return *this;
69 }
71
73
76 inline const IntegratedDocument& GetIntegratedDocument() const { return m_integratedDocument; }
77 inline bool IntegratedDocumentHasBeenSet() const { return m_integratedDocumentHasBeenSet; }
78 template <typename IntegratedDocumentT = IntegratedDocument>
79 void SetIntegratedDocument(IntegratedDocumentT&& value) {
80 m_integratedDocumentHasBeenSet = true;
81 m_integratedDocument = std::forward<IntegratedDocumentT>(value);
82 }
83 template <typename IntegratedDocumentT = IntegratedDocument>
84 DocumentInfo& WithIntegratedDocument(IntegratedDocumentT&& value) {
85 SetIntegratedDocument(std::forward<IntegratedDocumentT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_s3Location;
91
92 Aws::String m_artifactId;
93
94 IntegratedDocument m_integratedDocument;
95 bool m_s3LocationHasBeenSet = false;
96 bool m_artifactIdHasBeenSet = false;
97 bool m_integratedDocumentHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace SecurityAgent
102} // namespace Aws
AWS_SECURITYAGENT_API DocumentInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Location() const
void SetArtifactId(ArtifactIdT &&value)
const Aws::String & GetArtifactId() const
const IntegratedDocument & GetIntegratedDocument() const
DocumentInfo & WithS3Location(S3LocationT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIntegratedDocument(IntegratedDocumentT &&value)
DocumentInfo & WithIntegratedDocument(IntegratedDocumentT &&value)
AWS_SECURITYAGENT_API DocumentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3Location(S3LocationT &&value)
DocumentInfo & WithArtifactId(ArtifactIdT &&value)
AWS_SECURITYAGENT_API DocumentInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue