AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
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 DocumentInfo() = default;
31 AWS_SECURITYAGENT_API DocumentInfo(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API DocumentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetS3Location() const { return m_s3Location; }
40 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
41 template <typename S3LocationT = Aws::String>
42 void SetS3Location(S3LocationT&& value) {
43 m_s3LocationHasBeenSet = true;
44 m_s3Location = std::forward<S3LocationT>(value);
45 }
46 template <typename S3LocationT = Aws::String>
47 DocumentInfo& WithS3Location(S3LocationT&& value) {
48 SetS3Location(std::forward<S3LocationT>(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 DocumentInfo& WithArtifactId(ArtifactIdT&& value) {
66 SetArtifactId(std::forward<ArtifactIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_s3Location;
72
73 Aws::String m_artifactId;
74 bool m_s3LocationHasBeenSet = false;
75 bool m_artifactIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SecurityAgent
80} // 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
DocumentInfo & WithS3Location(S3LocationT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
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