AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Definition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/m2/MainframeModernization_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MainframeModernization {
20namespace Model {
21
29 public:
30 AWS_MAINFRAMEMODERNIZATION_API Definition() = default;
31 AWS_MAINFRAMEMODERNIZATION_API Definition(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MAINFRAMEMODERNIZATION_API Definition& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetContent() const { return m_content; }
42 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
43 template <typename ContentT = Aws::String>
44 void SetContent(ContentT&& value) {
45 m_contentHasBeenSet = true;
46 m_content = std::forward<ContentT>(value);
47 }
48 template <typename ContentT = Aws::String>
49 Definition& WithContent(ContentT&& value) {
50 SetContent(std::forward<ContentT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetS3Location() const { return m_s3Location; }
60 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
61 template <typename S3LocationT = Aws::String>
62 void SetS3Location(S3LocationT&& value) {
63 m_s3LocationHasBeenSet = true;
64 m_s3Location = std::forward<S3LocationT>(value);
65 }
66 template <typename S3LocationT = Aws::String>
67 Definition& WithS3Location(S3LocationT&& value) {
68 SetS3Location(std::forward<S3LocationT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_content;
74
75 Aws::String m_s3Location;
76 bool m_contentHasBeenSet = false;
77 bool m_s3LocationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MainframeModernization
82} // namespace Aws
const Aws::String & GetS3Location() const
Definition Definition.h:59
AWS_MAINFRAMEMODERNIZATION_API Definition & operator=(Aws::Utils::Json::JsonView jsonValue)
Definition & WithContent(ContentT &&value)
Definition Definition.h:49
AWS_MAINFRAMEMODERNIZATION_API Definition(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API Definition()=default
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContent() const
Definition Definition.h:41
Definition & WithS3Location(S3LocationT &&value)
Definition Definition.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue