AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
ActionMetadata.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Braket {
20namespace Model {
21
29 public:
30 AWS_BRAKET_API ActionMetadata() = default;
31 AWS_BRAKET_API ActionMetadata(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetActionType() const { return m_actionType; }
40 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
41 template <typename ActionTypeT = Aws::String>
42 void SetActionType(ActionTypeT&& value) {
43 m_actionTypeHasBeenSet = true;
44 m_actionType = std::forward<ActionTypeT>(value);
45 }
46 template <typename ActionTypeT = Aws::String>
47 ActionMetadata& WithActionType(ActionTypeT&& value) {
48 SetActionType(std::forward<ActionTypeT>(value));
49 return *this;
50 }
52
54
58 inline long long GetProgramCount() const { return m_programCount; }
59 inline bool ProgramCountHasBeenSet() const { return m_programCountHasBeenSet; }
60 inline void SetProgramCount(long long value) {
61 m_programCountHasBeenSet = true;
62 m_programCount = value;
63 }
64 inline ActionMetadata& WithProgramCount(long long value) {
65 SetProgramCount(value);
66 return *this;
67 }
69
71
75 inline long long GetExecutableCount() const { return m_executableCount; }
76 inline bool ExecutableCountHasBeenSet() const { return m_executableCountHasBeenSet; }
77 inline void SetExecutableCount(long long value) {
78 m_executableCountHasBeenSet = true;
79 m_executableCount = value;
80 }
81 inline ActionMetadata& WithExecutableCount(long long value) {
82 SetExecutableCount(value);
83 return *this;
84 }
86 private:
87 Aws::String m_actionType;
88
89 long long m_programCount{0};
90
91 long long m_executableCount{0};
92 bool m_actionTypeHasBeenSet = false;
93 bool m_programCountHasBeenSet = false;
94 bool m_executableCountHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Braket
99} // namespace Aws
void SetProgramCount(long long value)
void SetActionType(ActionTypeT &&value)
AWS_BRAKET_API ActionMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetActionType() const
ActionMetadata & WithProgramCount(long long value)
AWS_BRAKET_API ActionMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetExecutableCount(long long value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
ActionMetadata & WithActionType(ActionTypeT &&value)
ActionMetadata & WithExecutableCount(long long value)
AWS_BRAKET_API ActionMetadata()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue