AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApprovalResult.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/ApprovalStatus.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
34 {
35 public:
36 AWS_CODEPIPELINE_API ApprovalResult();
37 AWS_CODEPIPELINE_API ApprovalResult(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API ApprovalResult& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSummary() const{ return m_summary; }
47 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
48 inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
49 inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
50 inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
51 inline ApprovalResult& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
52 inline ApprovalResult& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
53 inline ApprovalResult& WithSummary(const char* value) { SetSummary(value); return *this;}
55
57
61 inline const ApprovalStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const ApprovalStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(ApprovalStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline ApprovalResult& WithStatus(const ApprovalStatus& value) { SetStatus(value); return *this;}
66 inline ApprovalResult& WithStatus(ApprovalStatus&& value) { SetStatus(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_summary;
71 bool m_summaryHasBeenSet = false;
72
73 ApprovalStatus m_status;
74 bool m_statusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodePipeline
79} // namespace Aws
ApprovalResult & WithStatus(ApprovalStatus &&value)
ApprovalResult & WithSummary(const char *value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(ApprovalStatus &&value)
const Aws::String & GetSummary() const
const ApprovalStatus & GetStatus() const
void SetStatus(const ApprovalStatus &value)
ApprovalResult & WithSummary(Aws::String &&value)
ApprovalResult & WithSummary(const Aws::String &value)
AWS_CODEPIPELINE_API ApprovalResult & operator=(Aws::Utils::Json::JsonView jsonValue)
ApprovalResult & WithStatus(const ApprovalStatus &value)
AWS_CODEPIPELINE_API ApprovalResult(Aws::Utils::Json::JsonView jsonValue)
void SetSummary(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue