AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
S3Configuration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchLogs {
20namespace Model {
21
29 public:
30 AWS_CLOUDWATCHLOGS_API S3Configuration() = default;
31 AWS_CLOUDWATCHLOGS_API S3Configuration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDWATCHLOGS_API S3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetDestinationIdentifier() const { return m_destinationIdentifier; }
41 inline bool DestinationIdentifierHasBeenSet() const { return m_destinationIdentifierHasBeenSet; }
42 template <typename DestinationIdentifierT = Aws::String>
43 void SetDestinationIdentifier(DestinationIdentifierT&& value) {
44 m_destinationIdentifierHasBeenSet = true;
45 m_destinationIdentifier = std::forward<DestinationIdentifierT>(value);
46 }
47 template <typename DestinationIdentifierT = Aws::String>
48 S3Configuration& WithDestinationIdentifier(DestinationIdentifierT&& value) {
49 SetDestinationIdentifier(std::forward<DestinationIdentifierT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
60 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
61 template <typename RoleArnT = Aws::String>
62 void SetRoleArn(RoleArnT&& value) {
63 m_roleArnHasBeenSet = true;
64 m_roleArn = std::forward<RoleArnT>(value);
65 }
66 template <typename RoleArnT = Aws::String>
67 S3Configuration& WithRoleArn(RoleArnT&& value) {
68 SetRoleArn(std::forward<RoleArnT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_destinationIdentifier;
74
75 Aws::String m_roleArn;
76 bool m_destinationIdentifierHasBeenSet = false;
77 bool m_roleArnHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CloudWatchLogs
82} // namespace Aws
void SetDestinationIdentifier(DestinationIdentifierT &&value)
AWS_CLOUDWATCHLOGS_API S3Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
S3Configuration & WithRoleArn(RoleArnT &&value)
AWS_CLOUDWATCHLOGS_API S3Configuration()=default
S3Configuration & WithDestinationIdentifier(DestinationIdentifierT &&value)
AWS_CLOUDWATCHLOGS_API S3Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDestinationIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue