AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
BitbucketRepositoryResource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityAgent {
20namespace Model {
21
29 public:
30 AWS_SECURITYAGENT_API BitbucketRepositoryResource() = default;
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetName() const { return m_name; }
38 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetWorkspace() const { return m_workspace; }
56 inline bool WorkspaceHasBeenSet() const { return m_workspaceHasBeenSet; }
57 template <typename WorkspaceT = Aws::String>
58 void SetWorkspace(WorkspaceT&& value) {
59 m_workspaceHasBeenSet = true;
60 m_workspace = std::forward<WorkspaceT>(value);
61 }
62 template <typename WorkspaceT = Aws::String>
64 SetWorkspace(std::forward<WorkspaceT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_name;
70
71 Aws::String m_workspace;
72 bool m_nameHasBeenSet = false;
73 bool m_workspaceHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace SecurityAgent
78} // namespace Aws
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API BitbucketRepositoryResource()=default
AWS_SECURITYAGENT_API BitbucketRepositoryResource(Aws::Utils::Json::JsonView jsonValue)
BitbucketRepositoryResource & WithWorkspace(WorkspaceT &&value)
AWS_SECURITYAGENT_API BitbucketRepositoryResource & operator=(Aws::Utils::Json::JsonView jsonValue)
BitbucketRepositoryResource & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue