AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DomainEntryPoint.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_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 CodeArtifact {
20namespace Model {
21
37 public:
38 AWS_CODEARTIFACT_API DomainEntryPoint() = default;
39 AWS_CODEARTIFACT_API DomainEntryPoint(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEARTIFACT_API DomainEntryPoint& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
48 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
49 template <typename RepositoryNameT = Aws::String>
50 void SetRepositoryName(RepositoryNameT&& value) {
51 m_repositoryNameHasBeenSet = true;
52 m_repositoryName = std::forward<RepositoryNameT>(value);
53 }
54 template <typename RepositoryNameT = Aws::String>
55 DomainEntryPoint& WithRepositoryName(RepositoryNameT&& value) {
56 SetRepositoryName(std::forward<RepositoryNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetExternalConnectionName() const { return m_externalConnectionName; }
66 inline bool ExternalConnectionNameHasBeenSet() const { return m_externalConnectionNameHasBeenSet; }
67 template <typename ExternalConnectionNameT = Aws::String>
68 void SetExternalConnectionName(ExternalConnectionNameT&& value) {
69 m_externalConnectionNameHasBeenSet = true;
70 m_externalConnectionName = std::forward<ExternalConnectionNameT>(value);
71 }
72 template <typename ExternalConnectionNameT = Aws::String>
73 DomainEntryPoint& WithExternalConnectionName(ExternalConnectionNameT&& value) {
74 SetExternalConnectionName(std::forward<ExternalConnectionNameT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_repositoryName;
80
81 Aws::String m_externalConnectionName;
82 bool m_repositoryNameHasBeenSet = false;
83 bool m_externalConnectionNameHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace CodeArtifact
88} // namespace Aws
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
bool RepositoryNameHasBeenSet() const
void SetExternalConnectionName(ExternalConnectionNameT &&value)
bool ExternalConnectionNameHasBeenSet() const
void SetRepositoryName(RepositoryNameT &&value)
AWS_CODEARTIFACT_API DomainEntryPoint()=default
AWS_CODEARTIFACT_API DomainEntryPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExternalConnectionName() const
AWS_CODEARTIFACT_API DomainEntryPoint(Aws::Utils::Json::JsonView jsonValue)
DomainEntryPoint & WithRepositoryName(RepositoryNameT &&value)
const Aws::String & GetRepositoryName() const
DomainEntryPoint & WithExternalConnectionName(ExternalConnectionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue