AWS SDK for C++  1.9.106
AWS SDK for C++
LifecyclePolicyPreviewFilter.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ECR
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const TagStatus& GetTagStatus() const{ return m_tagStatus; }
44 
48  inline bool TagStatusHasBeenSet() const { return m_tagStatusHasBeenSet; }
49 
53  inline void SetTagStatus(const TagStatus& value) { m_tagStatusHasBeenSet = true; m_tagStatus = value; }
54 
58  inline void SetTagStatus(TagStatus&& value) { m_tagStatusHasBeenSet = true; m_tagStatus = std::move(value); }
59 
63  inline LifecyclePolicyPreviewFilter& WithTagStatus(const TagStatus& value) { SetTagStatus(value); return *this;}
64 
68  inline LifecyclePolicyPreviewFilter& WithTagStatus(TagStatus&& value) { SetTagStatus(std::move(value)); return *this;}
69 
70  private:
71 
72  TagStatus m_tagStatus;
73  bool m_tagStatusHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace ECR
78 } // namespace Aws
Aws::ECR::Model::LifecyclePolicyPreviewFilter::GetTagStatus
const TagStatus & GetTagStatus() const
Definition: LifecyclePolicyPreviewFilter.h:43
Aws::ECR::Model::LifecyclePolicyPreviewFilter::LifecyclePolicyPreviewFilter
LifecyclePolicyPreviewFilter()
Aws::ECR::Model::TagStatus
TagStatus
Definition: TagStatus.h:17
Aws::ECR::Model::LifecyclePolicyPreviewFilter::LifecyclePolicyPreviewFilter
LifecyclePolicyPreviewFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::ECR::Model::LifecyclePolicyPreviewFilter::WithTagStatus
LifecyclePolicyPreviewFilter & WithTagStatus(const TagStatus &value)
Definition: LifecyclePolicyPreviewFilter.h:63
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
TagStatus.h
ECR_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::LifecyclePolicyPreviewFilter::SetTagStatus
void SetTagStatus(const TagStatus &value)
Definition: LifecyclePolicyPreviewFilter.h:53
Aws::ECR::Model::LifecyclePolicyPreviewFilter
Definition: LifecyclePolicyPreviewFilter.h:32
Aws::ECR::Model::LifecyclePolicyPreviewFilter::TagStatusHasBeenSet
bool TagStatusHasBeenSet() const
Definition: LifecyclePolicyPreviewFilter.h:48
Aws::ECR::Model::LifecyclePolicyPreviewFilter::SetTagStatus
void SetTagStatus(TagStatus &&value)
Definition: LifecyclePolicyPreviewFilter.h:58
Aws::ECR::Model::LifecyclePolicyPreviewFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECR::Model::LifecyclePolicyPreviewFilter::operator=
LifecyclePolicyPreviewFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECR::Model::LifecyclePolicyPreviewFilter::WithTagStatus
LifecyclePolicyPreviewFilter & WithTagStatus(TagStatus &&value)
Definition: LifecyclePolicyPreviewFilter.h:68