AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Result.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
32 class Result
33 {
34 public:
35 AWS_SECURITYHUB_API Result();
36 AWS_SECURITYHUB_API Result(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Result& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAccountId() const{ return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
48 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
49 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
50 inline Result& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline Result& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline Result& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54
56
59 inline const Aws::String& GetProcessingResult() const{ return m_processingResult; }
60 inline bool ProcessingResultHasBeenSet() const { return m_processingResultHasBeenSet; }
61 inline void SetProcessingResult(const Aws::String& value) { m_processingResultHasBeenSet = true; m_processingResult = value; }
62 inline void SetProcessingResult(Aws::String&& value) { m_processingResultHasBeenSet = true; m_processingResult = std::move(value); }
63 inline void SetProcessingResult(const char* value) { m_processingResultHasBeenSet = true; m_processingResult.assign(value); }
64 inline Result& WithProcessingResult(const Aws::String& value) { SetProcessingResult(value); return *this;}
65 inline Result& WithProcessingResult(Aws::String&& value) { SetProcessingResult(std::move(value)); return *this;}
66 inline Result& WithProcessingResult(const char* value) { SetProcessingResult(value); return *this;}
68 private:
69
70 Aws::String m_accountId;
71 bool m_accountIdHasBeenSet = false;
72
73 Aws::String m_processingResult;
74 bool m_processingResultHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SecurityHub
79} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Result & WithAccountId(const char *value)
Definition Result.h:52
Result & WithProcessingResult(const Aws::String &value)
Definition Result.h:64
Result & WithAccountId(Aws::String &&value)
Definition Result.h:51
void SetAccountId(const char *value)
Definition Result.h:49
void SetProcessingResult(const char *value)
Definition Result.h:63
void SetAccountId(Aws::String &&value)
Definition Result.h:48
const Aws::String & GetAccountId() const
Definition Result.h:45
Result & WithAccountId(const Aws::String &value)
Definition Result.h:50
AWS_SECURITYHUB_API Result & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ProcessingResultHasBeenSet() const
Definition Result.h:60
bool AccountIdHasBeenSet() const
Definition Result.h:46
Result & WithProcessingResult(const char *value)
Definition Result.h:66
AWS_SECURITYHUB_API Result(Aws::Utils::Json::JsonView jsonValue)
void SetProcessingResult(Aws::String &&value)
Definition Result.h:62
const Aws::String & GetProcessingResult() const
Definition Result.h:59
AWS_SECURITYHUB_API Result()
void SetProcessingResult(const Aws::String &value)
Definition Result.h:61
Result & WithProcessingResult(Aws::String &&value)
Definition Result.h:65
void SetAccountId(const Aws::String &value)
Definition Result.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue