AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LogsLocation.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/CloudWatchLogsConfig.h>
10#include <aws/codebuild/model/S3LogsConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CodeBuild
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CODEBUILD_API LogsLocation() = default;
38 AWS_CODEBUILD_API LogsLocation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEBUILD_API LogsLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetGroupName() const { return m_groupName; }
48 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
49 template<typename GroupNameT = Aws::String>
50 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
51 template<typename GroupNameT = Aws::String>
52 LogsLocation& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetStreamName() const { return m_streamName; }
60 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
61 template<typename StreamNameT = Aws::String>
62 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
63 template<typename StreamNameT = Aws::String>
64 LogsLocation& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
66
68
73 inline const Aws::String& GetDeepLink() const { return m_deepLink; }
74 inline bool DeepLinkHasBeenSet() const { return m_deepLinkHasBeenSet; }
75 template<typename DeepLinkT = Aws::String>
76 void SetDeepLink(DeepLinkT&& value) { m_deepLinkHasBeenSet = true; m_deepLink = std::forward<DeepLinkT>(value); }
77 template<typename DeepLinkT = Aws::String>
78 LogsLocation& WithDeepLink(DeepLinkT&& value) { SetDeepLink(std::forward<DeepLinkT>(value)); return *this;}
80
82
85 inline const Aws::String& GetS3DeepLink() const { return m_s3DeepLink; }
86 inline bool S3DeepLinkHasBeenSet() const { return m_s3DeepLinkHasBeenSet; }
87 template<typename S3DeepLinkT = Aws::String>
88 void SetS3DeepLink(S3DeepLinkT&& value) { m_s3DeepLinkHasBeenSet = true; m_s3DeepLink = std::forward<S3DeepLinkT>(value); }
89 template<typename S3DeepLinkT = Aws::String>
90 LogsLocation& WithS3DeepLink(S3DeepLinkT&& value) { SetS3DeepLink(std::forward<S3DeepLinkT>(value)); return *this;}
92
94
102 inline const Aws::String& GetCloudWatchLogsArn() const { return m_cloudWatchLogsArn; }
103 inline bool CloudWatchLogsArnHasBeenSet() const { return m_cloudWatchLogsArnHasBeenSet; }
104 template<typename CloudWatchLogsArnT = Aws::String>
105 void SetCloudWatchLogsArn(CloudWatchLogsArnT&& value) { m_cloudWatchLogsArnHasBeenSet = true; m_cloudWatchLogsArn = std::forward<CloudWatchLogsArnT>(value); }
106 template<typename CloudWatchLogsArnT = Aws::String>
107 LogsLocation& WithCloudWatchLogsArn(CloudWatchLogsArnT&& value) { SetCloudWatchLogsArn(std::forward<CloudWatchLogsArnT>(value)); return *this;}
109
111
118 inline const Aws::String& GetS3LogsArn() const { return m_s3LogsArn; }
119 inline bool S3LogsArnHasBeenSet() const { return m_s3LogsArnHasBeenSet; }
120 template<typename S3LogsArnT = Aws::String>
121 void SetS3LogsArn(S3LogsArnT&& value) { m_s3LogsArnHasBeenSet = true; m_s3LogsArn = std::forward<S3LogsArnT>(value); }
122 template<typename S3LogsArnT = Aws::String>
123 LogsLocation& WithS3LogsArn(S3LogsArnT&& value) { SetS3LogsArn(std::forward<S3LogsArnT>(value)); return *this;}
125
127
130 inline const CloudWatchLogsConfig& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
131 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
132 template<typename CloudWatchLogsT = CloudWatchLogsConfig>
133 void SetCloudWatchLogs(CloudWatchLogsT&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value); }
134 template<typename CloudWatchLogsT = CloudWatchLogsConfig>
135 LogsLocation& WithCloudWatchLogs(CloudWatchLogsT&& value) { SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value)); return *this;}
137
139
142 inline const S3LogsConfig& GetS3Logs() const { return m_s3Logs; }
143 inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; }
144 template<typename S3LogsT = S3LogsConfig>
145 void SetS3Logs(S3LogsT&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::forward<S3LogsT>(value); }
146 template<typename S3LogsT = S3LogsConfig>
147 LogsLocation& WithS3Logs(S3LogsT&& value) { SetS3Logs(std::forward<S3LogsT>(value)); return *this;}
149 private:
150
151 Aws::String m_groupName;
152 bool m_groupNameHasBeenSet = false;
153
154 Aws::String m_streamName;
155 bool m_streamNameHasBeenSet = false;
156
157 Aws::String m_deepLink;
158 bool m_deepLinkHasBeenSet = false;
159
160 Aws::String m_s3DeepLink;
161 bool m_s3DeepLinkHasBeenSet = false;
162
163 Aws::String m_cloudWatchLogsArn;
164 bool m_cloudWatchLogsArnHasBeenSet = false;
165
166 Aws::String m_s3LogsArn;
167 bool m_s3LogsArnHasBeenSet = false;
168
169 CloudWatchLogsConfig m_cloudWatchLogs;
170 bool m_cloudWatchLogsHasBeenSet = false;
171
172 S3LogsConfig m_s3Logs;
173 bool m_s3LogsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace CodeBuild
178} // namespace Aws
LogsLocation & WithS3Logs(S3LogsT &&value)
const Aws::String & GetCloudWatchLogsArn() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
LogsLocation & WithS3LogsArn(S3LogsArnT &&value)
const Aws::String & GetS3LogsArn() const
void SetCloudWatchLogs(CloudWatchLogsT &&value)
void SetStreamName(StreamNameT &&value)
LogsLocation & WithCloudWatchLogs(CloudWatchLogsT &&value)
LogsLocation & WithGroupName(GroupNameT &&value)
AWS_CODEBUILD_API LogsLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLogsArn(CloudWatchLogsArnT &&value)
const CloudWatchLogsConfig & GetCloudWatchLogs() const
LogsLocation & WithDeepLink(DeepLinkT &&value)
void SetGroupName(GroupNameT &&value)
AWS_CODEBUILD_API LogsLocation(Aws::Utils::Json::JsonView jsonValue)
void SetS3LogsArn(S3LogsArnT &&value)
const Aws::String & GetS3DeepLink() const
AWS_CODEBUILD_API LogsLocation()=default
const S3LogsConfig & GetS3Logs() const
void SetDeepLink(DeepLinkT &&value)
void SetS3DeepLink(S3DeepLinkT &&value)
LogsLocation & WithCloudWatchLogsArn(CloudWatchLogsArnT &&value)
const Aws::String & GetDeepLink() const
const Aws::String & GetGroupName() const
LogsLocation & WithStreamName(StreamNameT &&value)
LogsLocation & WithS3DeepLink(S3DeepLinkT &&value)
const Aws::String & GetStreamName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue