AWS SDK for C++  1.8.153
AWS SDK for C++
MemberDataSourceConfiguration.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 GuardDuty
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetAccountId() const{ return m_accountId; }
46 
50  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
51 
55  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
56 
60  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
61 
65  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
66 
70  inline MemberDataSourceConfiguration& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
71 
75  inline MemberDataSourceConfiguration& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
76 
80  inline MemberDataSourceConfiguration& WithAccountId(const char* value) { SetAccountId(value); return *this;}
81 
82 
86  inline const DataSourceConfigurationsResult& GetDataSources() const{ return m_dataSources; }
87 
91  inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; }
92 
96  inline void SetDataSources(const DataSourceConfigurationsResult& value) { m_dataSourcesHasBeenSet = true; m_dataSources = value; }
97 
101  inline void SetDataSources(DataSourceConfigurationsResult&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::move(value); }
102 
106  inline MemberDataSourceConfiguration& WithDataSources(const DataSourceConfigurationsResult& value) { SetDataSources(value); return *this;}
107 
111  inline MemberDataSourceConfiguration& WithDataSources(DataSourceConfigurationsResult&& value) { SetDataSources(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_accountId;
116  bool m_accountIdHasBeenSet;
117 
118  DataSourceConfigurationsResult m_dataSources;
119  bool m_dataSourcesHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace GuardDuty
124 } // namespace Aws
Aws::GuardDuty::Model::MemberDataSourceConfiguration::MemberDataSourceConfiguration
MemberDataSourceConfiguration()
Aws::GuardDuty::Model::MemberDataSourceConfiguration::SetDataSources
void SetDataSources(const DataSourceConfigurationsResult &value)
Definition: MemberDataSourceConfiguration.h:96
Aws::GuardDuty::Model::MemberDataSourceConfiguration::GetDataSources
const DataSourceConfigurationsResult & GetDataSources() const
Definition: MemberDataSourceConfiguration.h:86
Aws::GuardDuty::Model::MemberDataSourceConfiguration::GetAccountId
const Aws::String & GetAccountId() const
Definition: MemberDataSourceConfiguration.h:45
Aws::GuardDuty::Model::MemberDataSourceConfiguration::MemberDataSourceConfiguration
MemberDataSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::MemberDataSourceConfiguration::WithAccountId
MemberDataSourceConfiguration & WithAccountId(Aws::String &&value)
Definition: MemberDataSourceConfiguration.h:75
Aws::GuardDuty::Model::MemberDataSourceConfiguration::operator=
MemberDataSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::MemberDataSourceConfiguration::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: MemberDataSourceConfiguration.h:55
Aws::GuardDuty::Model::MemberDataSourceConfiguration::WithAccountId
MemberDataSourceConfiguration & WithAccountId(const char *value)
Definition: MemberDataSourceConfiguration.h:80
Aws::GuardDuty::Model::MemberDataSourceConfiguration::WithAccountId
MemberDataSourceConfiguration & WithAccountId(const Aws::String &value)
Definition: MemberDataSourceConfiguration.h:70
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::MemberDataSourceConfiguration::SetDataSources
void SetDataSources(DataSourceConfigurationsResult &&value)
Definition: MemberDataSourceConfiguration.h:101
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::MemberDataSourceConfiguration::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: MemberDataSourceConfiguration.h:50
Aws::GuardDuty::Model::MemberDataSourceConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
DataSourceConfigurationsResult.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::MemberDataSourceConfiguration::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: MemberDataSourceConfiguration.h:60
Aws::GuardDuty::Model::MemberDataSourceConfiguration::DataSourcesHasBeenSet
bool DataSourcesHasBeenSet() const
Definition: MemberDataSourceConfiguration.h:91
Aws::GuardDuty::Model::MemberDataSourceConfiguration
Definition: MemberDataSourceConfiguration.h:34
Aws::GuardDuty::Model::MemberDataSourceConfiguration::WithDataSources
MemberDataSourceConfiguration & WithDataSources(DataSourceConfigurationsResult &&value)
Definition: MemberDataSourceConfiguration.h:111
Aws::GuardDuty::Model::MemberDataSourceConfiguration::SetAccountId
void SetAccountId(const char *value)
Definition: MemberDataSourceConfiguration.h:65
Aws::GuardDuty::Model::DataSourceConfigurationsResult
Definition: DataSourceConfigurationsResult.h:36
Aws::GuardDuty::Model::MemberDataSourceConfiguration::WithDataSources
MemberDataSourceConfiguration & WithDataSources(const DataSourceConfigurationsResult &value)
Definition: MemberDataSourceConfiguration.h:106