AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BlockerDeclaration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/BlockerType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodePipeline {
21namespace Model {
22
29 public:
30 AWS_CODEPIPELINE_API BlockerDeclaration() = default;
31 AWS_CODEPIPELINE_API BlockerDeclaration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
47 BlockerDeclaration& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline BlockerType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(BlockerType value) {
60 m_typeHasBeenSet = true;
61 m_type = value;
62 }
64 SetType(value);
65 return *this;
66 }
68 private:
69 Aws::String m_name;
70
72 bool m_nameHasBeenSet = false;
73 bool m_typeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace CodePipeline
78} // 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