AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RepositoryCredentials.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
29 public:
30 AWS_ECS_API RepositoryCredentials() = default;
34
36
44 inline const Aws::String& GetCredentialsParameter() const { return m_credentialsParameter; }
45 inline bool CredentialsParameterHasBeenSet() const { return m_credentialsParameterHasBeenSet; }
46 template <typename CredentialsParameterT = Aws::String>
47 void SetCredentialsParameter(CredentialsParameterT&& value) {
48 m_credentialsParameterHasBeenSet = true;
49 m_credentialsParameter = std::forward<CredentialsParameterT>(value);
50 }
51 template <typename CredentialsParameterT = Aws::String>
52 RepositoryCredentials& WithCredentialsParameter(CredentialsParameterT&& value) {
53 SetCredentialsParameter(std::forward<CredentialsParameterT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_credentialsParameter;
59 bool m_credentialsParameterHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace ECS
64} // namespace Aws
AWS_ECS_API RepositoryCredentials(Aws::Utils::Json::JsonView jsonValue)
RepositoryCredentials & WithCredentialsParameter(CredentialsParameterT &&value)
AWS_ECS_API RepositoryCredentials()=default
const Aws::String & GetCredentialsParameter() const
AWS_ECS_API RepositoryCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCredentialsParameter(CredentialsParameterT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue