AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BlockerDeclaration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/BlockerType.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 CodePipeline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CODEPIPELINE_API BlockerDeclaration() = default;
36 AWS_CODEPIPELINE_API BlockerDeclaration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 BlockerDeclaration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline BlockerType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(BlockerType value) { m_typeHasBeenSet = true; m_type = value; }
60 inline BlockerDeclaration& WithType(BlockerType value) { SetType(value); return *this;}
62 private:
63
64 Aws::String m_name;
65 bool m_nameHasBeenSet = false;
66
68 bool m_typeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace CodePipeline
73} // namespace Aws
AWS_CODEPIPELINE_API BlockerDeclaration()=default
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
BlockerDeclaration & WithType(BlockerType value)
AWS_CODEPIPELINE_API BlockerDeclaration(Aws::Utils::Json::JsonView jsonValue)
BlockerDeclaration & WithName(NameT &&value)
AWS_CODEPIPELINE_API BlockerDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue