AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
S3OutputLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM {
20namespace Model {
21
29 public:
30 AWS_SSM_API S3OutputLocation() = default;
34
36
39 inline const Aws::String& GetOutputS3Region() const { return m_outputS3Region; }
40 inline bool OutputS3RegionHasBeenSet() const { return m_outputS3RegionHasBeenSet; }
41 template <typename OutputS3RegionT = Aws::String>
42 void SetOutputS3Region(OutputS3RegionT&& value) {
43 m_outputS3RegionHasBeenSet = true;
44 m_outputS3Region = std::forward<OutputS3RegionT>(value);
45 }
46 template <typename OutputS3RegionT = Aws::String>
47 S3OutputLocation& WithOutputS3Region(OutputS3RegionT&& value) {
48 SetOutputS3Region(std::forward<OutputS3RegionT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetOutputS3BucketName() const { return m_outputS3BucketName; }
58 inline bool OutputS3BucketNameHasBeenSet() const { return m_outputS3BucketNameHasBeenSet; }
59 template <typename OutputS3BucketNameT = Aws::String>
60 void SetOutputS3BucketName(OutputS3BucketNameT&& value) {
61 m_outputS3BucketNameHasBeenSet = true;
62 m_outputS3BucketName = std::forward<OutputS3BucketNameT>(value);
63 }
64 template <typename OutputS3BucketNameT = Aws::String>
65 S3OutputLocation& WithOutputS3BucketName(OutputS3BucketNameT&& value) {
66 SetOutputS3BucketName(std::forward<OutputS3BucketNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetOutputS3KeyPrefix() const { return m_outputS3KeyPrefix; }
76 inline bool OutputS3KeyPrefixHasBeenSet() const { return m_outputS3KeyPrefixHasBeenSet; }
77 template <typename OutputS3KeyPrefixT = Aws::String>
78 void SetOutputS3KeyPrefix(OutputS3KeyPrefixT&& value) {
79 m_outputS3KeyPrefixHasBeenSet = true;
80 m_outputS3KeyPrefix = std::forward<OutputS3KeyPrefixT>(value);
81 }
82 template <typename OutputS3KeyPrefixT = Aws::String>
83 S3OutputLocation& WithOutputS3KeyPrefix(OutputS3KeyPrefixT&& value) {
84 SetOutputS3KeyPrefix(std::forward<OutputS3KeyPrefixT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_outputS3Region;
90
91 Aws::String m_outputS3BucketName;
92
93 Aws::String m_outputS3KeyPrefix;
94 bool m_outputS3RegionHasBeenSet = false;
95 bool m_outputS3BucketNameHasBeenSet = false;
96 bool m_outputS3KeyPrefixHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SSM
101} // namespace Aws
AWS_SSM_API S3OutputLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
S3OutputLocation & WithOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
const Aws::String & GetOutputS3Region() const
AWS_SSM_API S3OutputLocation()=default
const Aws::String & GetOutputS3BucketName() const
AWS_SSM_API S3OutputLocation(Aws::Utils::Json::JsonView jsonValue)
void SetOutputS3Region(OutputS3RegionT &&value)
S3OutputLocation & WithOutputS3Region(OutputS3RegionT &&value)
void SetOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
const Aws::String & GetOutputS3KeyPrefix() const
S3OutputLocation & WithOutputS3BucketName(OutputS3BucketNameT &&value)
void SetOutputS3BucketName(OutputS3BucketNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue