AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
HarnessSkill.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/HarnessSkillAwsSkillsSource.h>
9#include <aws/bedrock-agentcore/model/HarnessSkillGitSource.h>
10#include <aws/bedrock-agentcore/model/HarnessSkillS3Source.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentCore {
23namespace Model {
24
31 public:
32 AWS_BEDROCKAGENTCORE_API HarnessSkill() = default;
33 AWS_BEDROCKAGENTCORE_API HarnessSkill(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API HarnessSkill& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetPath() const { return m_path; }
42 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
43 template <typename PathT = Aws::String>
44 void SetPath(PathT&& value) {
45 m_pathHasBeenSet = true;
46 m_path = std::forward<PathT>(value);
47 }
48 template <typename PathT = Aws::String>
49 HarnessSkill& WithPath(PathT&& value) {
50 SetPath(std::forward<PathT>(value));
51 return *this;
52 }
54
56
59 inline const HarnessSkillS3Source& GetS3() const { return m_s3; }
60 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
61 template <typename S3T = HarnessSkillS3Source>
62 void SetS3(S3T&& value) {
63 m_s3HasBeenSet = true;
64 m_s3 = std::forward<S3T>(value);
65 }
66 template <typename S3T = HarnessSkillS3Source>
67 HarnessSkill& WithS3(S3T&& value) {
68 SetS3(std::forward<S3T>(value));
69 return *this;
70 }
72
74
77 inline const HarnessSkillGitSource& GetGit() const { return m_git; }
78 inline bool GitHasBeenSet() const { return m_gitHasBeenSet; }
79 template <typename GitT = HarnessSkillGitSource>
80 void SetGit(GitT&& value) {
81 m_gitHasBeenSet = true;
82 m_git = std::forward<GitT>(value);
83 }
84 template <typename GitT = HarnessSkillGitSource>
85 HarnessSkill& WithGit(GitT&& value) {
86 SetGit(std::forward<GitT>(value));
87 return *this;
88 }
90
92
95 inline const HarnessSkillAwsSkillsSource& GetAwsSkills() const { return m_awsSkills; }
96 inline bool AwsSkillsHasBeenSet() const { return m_awsSkillsHasBeenSet; }
97 template <typename AwsSkillsT = HarnessSkillAwsSkillsSource>
98 void SetAwsSkills(AwsSkillsT&& value) {
99 m_awsSkillsHasBeenSet = true;
100 m_awsSkills = std::forward<AwsSkillsT>(value);
101 }
102 template <typename AwsSkillsT = HarnessSkillAwsSkillsSource>
103 HarnessSkill& WithAwsSkills(AwsSkillsT&& value) {
104 SetAwsSkills(std::forward<AwsSkillsT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_path;
110
112
114
115 HarnessSkillAwsSkillsSource m_awsSkills;
116 bool m_pathHasBeenSet = false;
117 bool m_s3HasBeenSet = false;
118 bool m_gitHasBeenSet = false;
119 bool m_awsSkillsHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace BedrockAgentCore
124} // namespace Aws
const HarnessSkillS3Source & GetS3() const
AWS_BEDROCKAGENTCORE_API HarnessSkill & operator=(Aws::Utils::Json::JsonView jsonValue)
HarnessSkill & WithAwsSkills(AwsSkillsT &&value)
HarnessSkill & WithGit(GitT &&value)
HarnessSkill & WithS3(S3T &&value)
const HarnessSkillAwsSkillsSource & GetAwsSkills() const
const Aws::String & GetPath() const
AWS_BEDROCKAGENTCORE_API HarnessSkill()=default
AWS_BEDROCKAGENTCORE_API HarnessSkill(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
HarnessSkill & WithPath(PathT &&value)
const HarnessSkillGitSource & GetGit() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue