AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositoryScanningConfigurationFailure.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/ScanningConfigurationFailureCode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECR
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
47 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
48 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
49 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
50 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
53 inline RepositoryScanningConfigurationFailure& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
55
57
60 inline const ScanningConfigurationFailureCode& GetFailureCode() const{ return m_failureCode; }
61 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
62 inline void SetFailureCode(const ScanningConfigurationFailureCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
63 inline void SetFailureCode(ScanningConfigurationFailureCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
67
69
72 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
73 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
74 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
75 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
76 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
78 inline RepositoryScanningConfigurationFailure& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
79 inline RepositoryScanningConfigurationFailure& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
81 private:
82
83 Aws::String m_repositoryName;
84 bool m_repositoryNameHasBeenSet = false;
85
87 bool m_failureCodeHasBeenSet = false;
88
89 Aws::String m_failureReason;
90 bool m_failureReasonHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ECR
95} // namespace Aws
RepositoryScanningConfigurationFailure & WithFailureReason(Aws::String &&value)
void SetFailureCode(const ScanningConfigurationFailureCode &value)
RepositoryScanningConfigurationFailure & WithFailureCode(ScanningConfigurationFailureCode &&value)
RepositoryScanningConfigurationFailure & WithFailureCode(const ScanningConfigurationFailureCode &value)
RepositoryScanningConfigurationFailure & WithRepositoryName(Aws::String &&value)
RepositoryScanningConfigurationFailure & WithRepositoryName(const Aws::String &value)
RepositoryScanningConfigurationFailure & WithFailureReason(const char *value)
RepositoryScanningConfigurationFailure & WithFailureReason(const Aws::String &value)
AWS_ECR_API RepositoryScanningConfigurationFailure(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API RepositoryScanningConfigurationFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositoryScanningConfigurationFailure & WithRepositoryName(const char *value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue