AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
50 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
51 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
52 inline LogsLocation& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
53 inline LogsLocation& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
54 inline LogsLocation& WithGroupName(const char* value) { SetGroupName(value); return *this;}
56
58
61 inline const Aws::String& GetStreamName() const{ return m_streamName; }
62 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
63 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
64 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
65 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
66 inline LogsLocation& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
67 inline LogsLocation& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
68 inline LogsLocation& WithStreamName(const char* value) { SetStreamName(value); return *this;}
70
72
77 inline const Aws::String& GetDeepLink() const{ return m_deepLink; }
78 inline bool DeepLinkHasBeenSet() const { return m_deepLinkHasBeenSet; }
79 inline void SetDeepLink(const Aws::String& value) { m_deepLinkHasBeenSet = true; m_deepLink = value; }
80 inline void SetDeepLink(Aws::String&& value) { m_deepLinkHasBeenSet = true; m_deepLink = std::move(value); }
81 inline void SetDeepLink(const char* value) { m_deepLinkHasBeenSet = true; m_deepLink.assign(value); }
82 inline LogsLocation& WithDeepLink(const Aws::String& value) { SetDeepLink(value); return *this;}
83 inline LogsLocation& WithDeepLink(Aws::String&& value) { SetDeepLink(std::move(value)); return *this;}
84 inline LogsLocation& WithDeepLink(const char* value) { SetDeepLink(value); return *this;}
86
88
91 inline const Aws::String& GetS3DeepLink() const{ return m_s3DeepLink; }
92 inline bool S3DeepLinkHasBeenSet() const { return m_s3DeepLinkHasBeenSet; }
93 inline void SetS3DeepLink(const Aws::String& value) { m_s3DeepLinkHasBeenSet = true; m_s3DeepLink = value; }
94 inline void SetS3DeepLink(Aws::String&& value) { m_s3DeepLinkHasBeenSet = true; m_s3DeepLink = std::move(value); }
95 inline void SetS3DeepLink(const char* value) { m_s3DeepLinkHasBeenSet = true; m_s3DeepLink.assign(value); }
96 inline LogsLocation& WithS3DeepLink(const Aws::String& value) { SetS3DeepLink(value); return *this;}
97 inline LogsLocation& WithS3DeepLink(Aws::String&& value) { SetS3DeepLink(std::move(value)); return *this;}
98 inline LogsLocation& WithS3DeepLink(const char* value) { SetS3DeepLink(value); return *this;}
100
102
110 inline const Aws::String& GetCloudWatchLogsArn() const{ return m_cloudWatchLogsArn; }
111 inline bool CloudWatchLogsArnHasBeenSet() const { return m_cloudWatchLogsArnHasBeenSet; }
112 inline void SetCloudWatchLogsArn(const Aws::String& value) { m_cloudWatchLogsArnHasBeenSet = true; m_cloudWatchLogsArn = value; }
113 inline void SetCloudWatchLogsArn(Aws::String&& value) { m_cloudWatchLogsArnHasBeenSet = true; m_cloudWatchLogsArn = std::move(value); }
114 inline void SetCloudWatchLogsArn(const char* value) { m_cloudWatchLogsArnHasBeenSet = true; m_cloudWatchLogsArn.assign(value); }
115 inline LogsLocation& WithCloudWatchLogsArn(const Aws::String& value) { SetCloudWatchLogsArn(value); return *this;}
116 inline LogsLocation& WithCloudWatchLogsArn(Aws::String&& value) { SetCloudWatchLogsArn(std::move(value)); return *this;}
117 inline LogsLocation& WithCloudWatchLogsArn(const char* value) { SetCloudWatchLogsArn(value); return *this;}
119
121
128 inline const Aws::String& GetS3LogsArn() const{ return m_s3LogsArn; }
129 inline bool S3LogsArnHasBeenSet() const { return m_s3LogsArnHasBeenSet; }
130 inline void SetS3LogsArn(const Aws::String& value) { m_s3LogsArnHasBeenSet = true; m_s3LogsArn = value; }
131 inline void SetS3LogsArn(Aws::String&& value) { m_s3LogsArnHasBeenSet = true; m_s3LogsArn = std::move(value); }
132 inline void SetS3LogsArn(const char* value) { m_s3LogsArnHasBeenSet = true; m_s3LogsArn.assign(value); }
133 inline LogsLocation& WithS3LogsArn(const Aws::String& value) { SetS3LogsArn(value); return *this;}
134 inline LogsLocation& WithS3LogsArn(Aws::String&& value) { SetS3LogsArn(std::move(value)); return *this;}
135 inline LogsLocation& WithS3LogsArn(const char* value) { SetS3LogsArn(value); return *this;}
137
139
142 inline const CloudWatchLogsConfig& GetCloudWatchLogs() const{ return m_cloudWatchLogs; }
143 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
144 inline void SetCloudWatchLogs(const CloudWatchLogsConfig& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; }
145 inline void SetCloudWatchLogs(CloudWatchLogsConfig&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); }
146 inline LogsLocation& WithCloudWatchLogs(const CloudWatchLogsConfig& value) { SetCloudWatchLogs(value); return *this;}
147 inline LogsLocation& WithCloudWatchLogs(CloudWatchLogsConfig&& value) { SetCloudWatchLogs(std::move(value)); return *this;}
149
151
154 inline const S3LogsConfig& GetS3Logs() const{ return m_s3Logs; }
155 inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; }
156 inline void SetS3Logs(const S3LogsConfig& value) { m_s3LogsHasBeenSet = true; m_s3Logs = value; }
157 inline void SetS3Logs(S3LogsConfig&& value) { m_s3LogsHasBeenSet = true; m_s3Logs = std::move(value); }
158 inline LogsLocation& WithS3Logs(const S3LogsConfig& value) { SetS3Logs(value); return *this;}
159 inline LogsLocation& WithS3Logs(S3LogsConfig&& value) { SetS3Logs(std::move(value)); return *this;}
161 private:
162
163 Aws::String m_groupName;
164 bool m_groupNameHasBeenSet = false;
165
166 Aws::String m_streamName;
167 bool m_streamNameHasBeenSet = false;
168
169 Aws::String m_deepLink;
170 bool m_deepLinkHasBeenSet = false;
171
172 Aws::String m_s3DeepLink;
173 bool m_s3DeepLinkHasBeenSet = false;
174
175 Aws::String m_cloudWatchLogsArn;
176 bool m_cloudWatchLogsArnHasBeenSet = false;
177
178 Aws::String m_s3LogsArn;
179 bool m_s3LogsArnHasBeenSet = false;
180
181 CloudWatchLogsConfig m_cloudWatchLogs;
182 bool m_cloudWatchLogsHasBeenSet = false;
183
184 S3LogsConfig m_s3Logs;
185 bool m_s3LogsHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace CodeBuild
190} // namespace Aws
void SetStreamName(Aws::String &&value)
const Aws::String & GetCloudWatchLogsArn() const
void SetDeepLink(const char *value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
LogsLocation & WithCloudWatchLogsArn(Aws::String &&value)
LogsLocation & WithStreamName(const Aws::String &value)
LogsLocation & WithDeepLink(const Aws::String &value)
LogsLocation & WithCloudWatchLogsArn(const Aws::String &value)
LogsLocation & WithS3DeepLink(Aws::String &&value)
void SetDeepLink(const Aws::String &value)
void SetCloudWatchLogsArn(const Aws::String &value)
const Aws::String & GetS3LogsArn() const
LogsLocation & WithS3LogsArn(const char *value)
void SetCloudWatchLogsArn(Aws::String &&value)
LogsLocation & WithStreamName(Aws::String &&value)
void SetCloudWatchLogs(const CloudWatchLogsConfig &value)
LogsLocation & WithDeepLink(const char *value)
AWS_CODEBUILD_API LogsLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
LogsLocation & WithS3LogsArn(Aws::String &&value)
void SetS3DeepLink(const Aws::String &value)
LogsLocation & WithGroupName(const char *value)
LogsLocation & WithCloudWatchLogs(CloudWatchLogsConfig &&value)
LogsLocation & WithGroupName(const Aws::String &value)
LogsLocation & WithCloudWatchLogs(const CloudWatchLogsConfig &value)
const CloudWatchLogsConfig & GetCloudWatchLogs() const
void SetDeepLink(Aws::String &&value)
void SetS3LogsArn(const char *value)
void SetGroupName(const Aws::String &value)
void SetGroupName(const char *value)
AWS_CODEBUILD_API LogsLocation(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLogsArn(const char *value)
LogsLocation & WithDeepLink(Aws::String &&value)
LogsLocation & WithStreamName(const char *value)
void SetS3DeepLink(Aws::String &&value)
void SetCloudWatchLogs(CloudWatchLogsConfig &&value)
LogsLocation & WithS3DeepLink(const char *value)
void SetS3Logs(const S3LogsConfig &value)
LogsLocation & WithS3Logs(const S3LogsConfig &value)
const Aws::String & GetS3DeepLink() const
void SetStreamName(const char *value)
void SetStreamName(const Aws::String &value)
LogsLocation & WithS3LogsArn(const Aws::String &value)
LogsLocation & WithS3DeepLink(const Aws::String &value)
void SetS3LogsArn(const Aws::String &value)
const S3LogsConfig & GetS3Logs() const
LogsLocation & WithGroupName(Aws::String &&value)
void SetS3LogsArn(Aws::String &&value)
void SetS3DeepLink(const char *value)
const Aws::String & GetDeepLink() const
void SetS3Logs(S3LogsConfig &&value)
const Aws::String & GetGroupName() const
const Aws::String & GetStreamName() const
LogsLocation & WithS3Logs(S3LogsConfig &&value)
LogsLocation & WithCloudWatchLogsArn(const char *value)
void SetGroupName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue