AWS SDK for C++  1.9.71
AWS SDK for C++
DataSourceCredentials.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace QuickSight
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const CredentialPair& GetCredentialPair() const{ return m_credentialPair; }
47 
51  inline bool CredentialPairHasBeenSet() const { return m_credentialPairHasBeenSet; }
52 
56  inline void SetCredentialPair(const CredentialPair& value) { m_credentialPairHasBeenSet = true; m_credentialPair = value; }
57 
61  inline void SetCredentialPair(CredentialPair&& value) { m_credentialPairHasBeenSet = true; m_credentialPair = std::move(value); }
62 
66  inline DataSourceCredentials& WithCredentialPair(const CredentialPair& value) { SetCredentialPair(value); return *this;}
67 
71  inline DataSourceCredentials& WithCredentialPair(CredentialPair&& value) { SetCredentialPair(std::move(value)); return *this;}
72 
73 
80  inline const Aws::String& GetCopySourceArn() const{ return m_copySourceArn; }
81 
88  inline bool CopySourceArnHasBeenSet() const { return m_copySourceArnHasBeenSet; }
89 
96  inline void SetCopySourceArn(const Aws::String& value) { m_copySourceArnHasBeenSet = true; m_copySourceArn = value; }
97 
104  inline void SetCopySourceArn(Aws::String&& value) { m_copySourceArnHasBeenSet = true; m_copySourceArn = std::move(value); }
105 
112  inline void SetCopySourceArn(const char* value) { m_copySourceArnHasBeenSet = true; m_copySourceArn.assign(value); }
113 
120  inline DataSourceCredentials& WithCopySourceArn(const Aws::String& value) { SetCopySourceArn(value); return *this;}
121 
128  inline DataSourceCredentials& WithCopySourceArn(Aws::String&& value) { SetCopySourceArn(std::move(value)); return *this;}
129 
136  inline DataSourceCredentials& WithCopySourceArn(const char* value) { SetCopySourceArn(value); return *this;}
137 
138  private:
139 
140  CredentialPair m_credentialPair;
141  bool m_credentialPairHasBeenSet;
142 
143  Aws::String m_copySourceArn;
144  bool m_copySourceArnHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace QuickSight
149 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DataSourceCredentials::SetCopySourceArn
void SetCopySourceArn(const char *value)
Definition: DataSourceCredentials.h:112
Aws::QuickSight::Model::DataSourceCredentials
Definition: DataSourceCredentials.h:35
Aws::QuickSight::Model::DataSourceCredentials::SetCopySourceArn
void SetCopySourceArn(const Aws::String &value)
Definition: DataSourceCredentials.h:96
Aws::QuickSight::Model::DataSourceCredentials::WithCopySourceArn
DataSourceCredentials & WithCopySourceArn(const Aws::String &value)
Definition: DataSourceCredentials.h:120
Aws::QuickSight::Model::DataSourceCredentials::WithCopySourceArn
DataSourceCredentials & WithCopySourceArn(const char *value)
Definition: DataSourceCredentials.h:136
Aws::QuickSight::Model::DataSourceCredentials::GetCopySourceArn
const Aws::String & GetCopySourceArn() const
Definition: DataSourceCredentials.h:80
Aws::QuickSight::Model::CredentialPair
Definition: CredentialPair.h:35
Aws::QuickSight::Model::DataSourceCredentials::WithCredentialPair
DataSourceCredentials & WithCredentialPair(const CredentialPair &value)
Definition: DataSourceCredentials.h:66
Aws::QuickSight::Model::DataSourceCredentials::GetCredentialPair
const CredentialPair & GetCredentialPair() const
Definition: DataSourceCredentials.h:46
Aws::QuickSight::Model::DataSourceCredentials::WithCredentialPair
DataSourceCredentials & WithCredentialPair(CredentialPair &&value)
Definition: DataSourceCredentials.h:71
Aws::QuickSight::Model::DataSourceCredentials::operator=
DataSourceCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DataSourceCredentials::SetCredentialPair
void SetCredentialPair(const CredentialPair &value)
Definition: DataSourceCredentials.h:56
Aws::QuickSight::Model::DataSourceCredentials::DataSourceCredentials
DataSourceCredentials()
Aws::QuickSight::Model::DataSourceCredentials::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::DataSourceCredentials::CopySourceArnHasBeenSet
bool CopySourceArnHasBeenSet() const
Definition: DataSourceCredentials.h:88
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::QuickSight::Model::DataSourceCredentials::CredentialPairHasBeenSet
bool CredentialPairHasBeenSet() const
Definition: DataSourceCredentials.h:51
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
CredentialPair.h
Aws::QuickSight::Model::DataSourceCredentials::DataSourceCredentials
DataSourceCredentials(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DataSourceCredentials::SetCredentialPair
void SetCredentialPair(CredentialPair &&value)
Definition: DataSourceCredentials.h:61
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DataSourceCredentials::SetCopySourceArn
void SetCopySourceArn(Aws::String &&value)
Definition: DataSourceCredentials.h:104
Aws::QuickSight::Model::DataSourceCredentials::WithCopySourceArn
DataSourceCredentials & WithCopySourceArn(Aws::String &&value)
Definition: DataSourceCredentials.h:128