AWS SDK for C++  1.9.157
AWS SDK for C++
RepositoryCredentials.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ECS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
49  inline const Aws::String& GetCredentialsParameter() const{ return m_credentialsParameter; }
50 
59  inline bool CredentialsParameterHasBeenSet() const { return m_credentialsParameterHasBeenSet; }
60 
69  inline void SetCredentialsParameter(const Aws::String& value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter = value; }
70 
79  inline void SetCredentialsParameter(Aws::String&& value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter = std::move(value); }
80 
89  inline void SetCredentialsParameter(const char* value) { m_credentialsParameterHasBeenSet = true; m_credentialsParameter.assign(value); }
90 
99  inline RepositoryCredentials& WithCredentialsParameter(const Aws::String& value) { SetCredentialsParameter(value); return *this;}
100 
109  inline RepositoryCredentials& WithCredentialsParameter(Aws::String&& value) { SetCredentialsParameter(std::move(value)); return *this;}
110 
119  inline RepositoryCredentials& WithCredentialsParameter(const char* value) { SetCredentialsParameter(value); return *this;}
120 
121  private:
122 
123  Aws::String m_credentialsParameter;
124  bool m_credentialsParameterHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace ECS
129 } // namespace Aws
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::RepositoryCredentials::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::RepositoryCredentials::SetCredentialsParameter
void SetCredentialsParameter(const Aws::String &value)
Definition: RepositoryCredentials.h:69
Aws::ECS::Model::RepositoryCredentials::CredentialsParameterHasBeenSet
bool CredentialsParameterHasBeenSet() const
Definition: RepositoryCredentials.h:59
Aws::ECS::Model::RepositoryCredentials::RepositoryCredentials
RepositoryCredentials(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::RepositoryCredentials
Definition: RepositoryCredentials.h:33
Aws::ECS::Model::RepositoryCredentials::WithCredentialsParameter
RepositoryCredentials & WithCredentialsParameter(const Aws::String &value)
Definition: RepositoryCredentials.h:99
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::RepositoryCredentials::SetCredentialsParameter
void SetCredentialsParameter(Aws::String &&value)
Definition: RepositoryCredentials.h:79
Aws::ECS::Model::RepositoryCredentials::WithCredentialsParameter
RepositoryCredentials & WithCredentialsParameter(const char *value)
Definition: RepositoryCredentials.h:119
Aws::ECS::Model::RepositoryCredentials::WithCredentialsParameter
RepositoryCredentials & WithCredentialsParameter(Aws::String &&value)
Definition: RepositoryCredentials.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::RepositoryCredentials::SetCredentialsParameter
void SetCredentialsParameter(const char *value)
Definition: RepositoryCredentials.h:89
Aws::ECS::Model::RepositoryCredentials::RepositoryCredentials
RepositoryCredentials()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ECS_EXPORTS.h
Aws::ECS::Model::RepositoryCredentials::operator=
RepositoryCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::RepositoryCredentials::GetCredentialsParameter
const Aws::String & GetCredentialsParameter() const
Definition: RepositoryCredentials.h:49