/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Creates an analyzer.See Also:
AWS
* API Reference
The name of the analyzer to create.
*/ inline const Aws::String& GetAnalyzerName() const{ return m_analyzerName; } /** *The name of the analyzer to create.
*/ inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; } /** *The name of the analyzer to create.
*/ inline void SetAnalyzerName(const Aws::String& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = value; } /** *The name of the analyzer to create.
*/ inline void SetAnalyzerName(Aws::String&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::move(value); } /** *The name of the analyzer to create.
*/ inline void SetAnalyzerName(const char* value) { m_analyzerNameHasBeenSet = true; m_analyzerName.assign(value); } /** *The name of the analyzer to create.
*/ inline CreateAnalyzerRequest& WithAnalyzerName(const Aws::String& value) { SetAnalyzerName(value); return *this;} /** *The name of the analyzer to create.
*/ inline CreateAnalyzerRequest& WithAnalyzerName(Aws::String&& value) { SetAnalyzerName(std::move(value)); return *this;} /** *The name of the analyzer to create.
*/ inline CreateAnalyzerRequest& WithAnalyzerName(const char* value) { SetAnalyzerName(value); return *this;} /** *The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are * supported. You can create only one analyzer per account per Region. You can * create up to 5 analyzers per organization per Region.
*/ inline const Type& GetType() const{ return m_type; } /** *The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are * supported. You can create only one analyzer per account per Region. You can * create up to 5 analyzers per organization per Region.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are * supported. You can create only one analyzer per account per Region. You can * create up to 5 analyzers per organization per Region.
*/ inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are * supported. You can create only one analyzer per account per Region. You can * create up to 5 analyzers per organization per Region.
*/ inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are * supported. You can create only one analyzer per account per Region. You can * create up to 5 analyzers per organization per Region.
*/ inline CreateAnalyzerRequest& WithType(const Type& value) { SetType(value); return *this;} /** *The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are * supported. You can create only one analyzer per account per Region. You can * create up to 5 analyzers per organization per Region.
*/ inline CreateAnalyzerRequest& WithType(Type&& value) { SetType(std::move(value)); return *this;} /** *Specifies the archive rules to add for the analyzer. Archive rules * automatically archive findings that meet the criteria you define for the * rule.
*/ inline const Aws::VectorSpecifies the archive rules to add for the analyzer. Archive rules * automatically archive findings that meet the criteria you define for the * rule.
*/ inline bool ArchiveRulesHasBeenSet() const { return m_archiveRulesHasBeenSet; } /** *Specifies the archive rules to add for the analyzer. Archive rules * automatically archive findings that meet the criteria you define for the * rule.
*/ inline void SetArchiveRules(const Aws::VectorSpecifies the archive rules to add for the analyzer. Archive rules * automatically archive findings that meet the criteria you define for the * rule.
*/ inline void SetArchiveRules(Aws::VectorSpecifies the archive rules to add for the analyzer. Archive rules * automatically archive findings that meet the criteria you define for the * rule.
*/ inline CreateAnalyzerRequest& WithArchiveRules(const Aws::VectorSpecifies the archive rules to add for the analyzer. Archive rules * automatically archive findings that meet the criteria you define for the * rule.
*/ inline CreateAnalyzerRequest& WithArchiveRules(Aws::VectorSpecifies the archive rules to add for the analyzer. Archive rules * automatically archive findings that meet the criteria you define for the * rule.
*/ inline CreateAnalyzerRequest& AddArchiveRules(const InlineArchiveRule& value) { m_archiveRulesHasBeenSet = true; m_archiveRules.push_back(value); return *this; } /** *Specifies the archive rules to add for the analyzer. Archive rules * automatically archive findings that meet the criteria you define for the * rule.
*/ inline CreateAnalyzerRequest& AddArchiveRules(InlineArchiveRule&& value) { m_archiveRulesHasBeenSet = true; m_archiveRules.push_back(std::move(value)); return *this; } /** *The tags to apply to the analyzer.
*/ inline const Aws::MapThe tags to apply to the analyzer.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags to apply to the analyzer.
*/ inline void SetTags(const Aws::MapThe tags to apply to the analyzer.
*/ inline void SetTags(Aws::MapThe tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& WithTags(const Aws::MapThe tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& WithTags(Aws::MapThe tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags to apply to the analyzer.
*/ inline CreateAnalyzerRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A client token.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *A client token.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *A client token.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *A client token.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *A client token.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *A client token.
*/ inline CreateAnalyzerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *A client token.
*/ inline CreateAnalyzerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *A client token.
*/ inline CreateAnalyzerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_analyzerName; bool m_analyzerNameHasBeenSet = false; Type m_type; bool m_typeHasBeenSet = false; Aws::Vector