AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Definition.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_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 MainframeModernization
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MAINFRAMEMODERNIZATION_API Definition();
36 AWS_MAINFRAMEMODERNIZATION_API Definition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API Definition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetContent() const{ return m_content; }
48 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
49 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
50 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
51 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
52 inline Definition& WithContent(const Aws::String& value) { SetContent(value); return *this;}
53 inline Definition& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
54 inline Definition& WithContent(const char* value) { SetContent(value); return *this;}
56
58
61 inline const Aws::String& GetS3Location() const{ return m_s3Location; }
62 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
63 inline void SetS3Location(const Aws::String& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
64 inline void SetS3Location(Aws::String&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
65 inline void SetS3Location(const char* value) { m_s3LocationHasBeenSet = true; m_s3Location.assign(value); }
66 inline Definition& WithS3Location(const Aws::String& value) { SetS3Location(value); return *this;}
67 inline Definition& WithS3Location(Aws::String&& value) { SetS3Location(std::move(value)); return *this;}
68 inline Definition& WithS3Location(const char* value) { SetS3Location(value); return *this;}
70 private:
71
72 Aws::String m_content;
73 bool m_contentHasBeenSet = false;
74
75 Aws::String m_s3Location;
76 bool m_s3LocationHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace MainframeModernization
81} // namespace Aws
void SetS3Location(const Aws::String &value)
Definition Definition.h:63
Definition & WithContent(Aws::String &&value)
Definition Definition.h:53
const Aws::String & GetS3Location() const
Definition Definition.h:61
void SetContent(const Aws::String &value)
Definition Definition.h:49
AWS_MAINFRAMEMODERNIZATION_API Definition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API Definition()
Definition & WithS3Location(const char *value)
Definition Definition.h:68
Definition & WithContent(const Aws::String &value)
Definition Definition.h:52
AWS_MAINFRAMEMODERNIZATION_API Definition(Aws::Utils::Json::JsonView jsonValue)
Definition & WithS3Location(Aws::String &&value)
Definition Definition.h:67
Definition & WithS3Location(const Aws::String &value)
Definition Definition.h:66
Definition & WithContent(const char *value)
Definition Definition.h:54
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContent() const
Definition Definition.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue