AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberDataSourceConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/MemberFeaturesConfigurationResult.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API MemberDataSourceConfiguration();
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
50 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
51 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
52 inline MemberDataSourceConfiguration& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
53 inline MemberDataSourceConfiguration& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline MemberDataSourceConfiguration& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
62 inline const Aws::Vector<MemberFeaturesConfigurationResult>& GetFeatures() const{ return m_features; }
63 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
64 inline void SetFeatures(const Aws::Vector<MemberFeaturesConfigurationResult>& value) { m_featuresHasBeenSet = true; m_features = value; }
65 inline void SetFeatures(Aws::Vector<MemberFeaturesConfigurationResult>&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); }
68 inline MemberDataSourceConfiguration& AddFeatures(const MemberFeaturesConfigurationResult& value) { m_featuresHasBeenSet = true; m_features.push_back(value); return *this; }
69 inline MemberDataSourceConfiguration& AddFeatures(MemberFeaturesConfigurationResult&& value) { m_featuresHasBeenSet = true; m_features.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_accountId;
74 bool m_accountIdHasBeenSet = false;
75
77 bool m_featuresHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GuardDuty
82} // namespace Aws
void SetFeatures(const Aws::Vector< MemberFeaturesConfigurationResult > &value)
MemberDataSourceConfiguration & WithAccountId(Aws::String &&value)
const Aws::Vector< MemberFeaturesConfigurationResult > & GetFeatures() const
MemberDataSourceConfiguration & WithAccountId(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFeatures(Aws::Vector< MemberFeaturesConfigurationResult > &&value)
MemberDataSourceConfiguration & AddFeatures(MemberFeaturesConfigurationResult &&value)
AWS_GUARDDUTY_API MemberDataSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MemberDataSourceConfiguration & WithFeatures(Aws::Vector< MemberFeaturesConfigurationResult > &&value)
MemberDataSourceConfiguration & WithFeatures(const Aws::Vector< MemberFeaturesConfigurationResult > &value)
MemberDataSourceConfiguration & AddFeatures(const MemberFeaturesConfigurationResult &value)
AWS_GUARDDUTY_API MemberDataSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
MemberDataSourceConfiguration & WithAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue