AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExternalLocation.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
28 public:
29 AWS_MAINFRAMEMODERNIZATION_API ExternalLocation() = default;
30 AWS_MAINFRAMEMODERNIZATION_API ExternalLocation(Aws::Utils::Json::JsonView jsonValue);
31 AWS_MAINFRAMEMODERNIZATION_API ExternalLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetS3Location() const { return m_s3Location; }
39 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
40 template <typename S3LocationT = Aws::String>
41 void SetS3Location(S3LocationT&& value) {
42 m_s3LocationHasBeenSet = true;
43 m_s3Location = std::forward<S3LocationT>(value);
44 }
45 template <typename S3LocationT = Aws::String>
46 ExternalLocation& WithS3Location(S3LocationT&& value) {
47 SetS3Location(std::forward<S3LocationT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_s3Location;
53 bool m_s3LocationHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace MainframeModernization
58} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API ExternalLocation()=default
ExternalLocation & WithS3Location(S3LocationT &&value)
AWS_MAINFRAMEMODERNIZATION_API ExternalLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API ExternalLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue