/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class AWS_IOT_API DescribeScheduledAuditResult { public: DescribeScheduledAuditResult(); DescribeScheduledAuditResult(const Aws::AmazonWebServiceResult& result); DescribeScheduledAuditResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

How often the scheduled audit takes place, either one of DAILY, * WEEKLY, BIWEEKLY, or MONTHLY. The start * time of each audit is determined by the system.

*/ inline const AuditFrequency& GetFrequency() const{ return m_frequency; } /** *

How often the scheduled audit takes place, either one of DAILY, * WEEKLY, BIWEEKLY, or MONTHLY. The start * time of each audit is determined by the system.

*/ inline void SetFrequency(const AuditFrequency& value) { m_frequency = value; } /** *

How often the scheduled audit takes place, either one of DAILY, * WEEKLY, BIWEEKLY, or MONTHLY. The start * time of each audit is determined by the system.

*/ inline void SetFrequency(AuditFrequency&& value) { m_frequency = std::move(value); } /** *

How often the scheduled audit takes place, either one of DAILY, * WEEKLY, BIWEEKLY, or MONTHLY. The start * time of each audit is determined by the system.

*/ inline DescribeScheduledAuditResult& WithFrequency(const AuditFrequency& value) { SetFrequency(value); return *this;} /** *

How often the scheduled audit takes place, either one of DAILY, * WEEKLY, BIWEEKLY, or MONTHLY. The start * time of each audit is determined by the system.

*/ inline DescribeScheduledAuditResult& WithFrequency(AuditFrequency&& value) { SetFrequency(std::move(value)); return *this;} /** *

The day of the month on which the scheduled audit takes place. This is will * be 1 through 31 or LAST. If days * 29-31 are specified, and the month does not have that * many days, the audit takes place on the LAST day of the month.

*/ inline const Aws::String& GetDayOfMonth() const{ return m_dayOfMonth; } /** *

The day of the month on which the scheduled audit takes place. This is will * be 1 through 31 or LAST. If days * 29-31 are specified, and the month does not have that * many days, the audit takes place on the LAST day of the month.

*/ inline void SetDayOfMonth(const Aws::String& value) { m_dayOfMonth = value; } /** *

The day of the month on which the scheduled audit takes place. This is will * be 1 through 31 or LAST. If days * 29-31 are specified, and the month does not have that * many days, the audit takes place on the LAST day of the month.

*/ inline void SetDayOfMonth(Aws::String&& value) { m_dayOfMonth = std::move(value); } /** *

The day of the month on which the scheduled audit takes place. This is will * be 1 through 31 or LAST. If days * 29-31 are specified, and the month does not have that * many days, the audit takes place on the LAST day of the month.

*/ inline void SetDayOfMonth(const char* value) { m_dayOfMonth.assign(value); } /** *

The day of the month on which the scheduled audit takes place. This is will * be 1 through 31 or LAST. If days * 29-31 are specified, and the month does not have that * many days, the audit takes place on the LAST day of the month.

*/ inline DescribeScheduledAuditResult& WithDayOfMonth(const Aws::String& value) { SetDayOfMonth(value); return *this;} /** *

The day of the month on which the scheduled audit takes place. This is will * be 1 through 31 or LAST. If days * 29-31 are specified, and the month does not have that * many days, the audit takes place on the LAST day of the month.

*/ inline DescribeScheduledAuditResult& WithDayOfMonth(Aws::String&& value) { SetDayOfMonth(std::move(value)); return *this;} /** *

The day of the month on which the scheduled audit takes place. This is will * be 1 through 31 or LAST. If days * 29-31 are specified, and the month does not have that * many days, the audit takes place on the LAST day of the month.

*/ inline DescribeScheduledAuditResult& WithDayOfMonth(const char* value) { SetDayOfMonth(value); return *this;} /** *

The day of the week on which the scheduled audit takes place, either one of * SUN, MON, TUE, WED, * THU, FRI, or SAT.

*/ inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; } /** *

The day of the week on which the scheduled audit takes place, either one of * SUN, MON, TUE, WED, * THU, FRI, or SAT.

*/ inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeek = value; } /** *

The day of the week on which the scheduled audit takes place, either one of * SUN, MON, TUE, WED, * THU, FRI, or SAT.

*/ inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeek = std::move(value); } /** *

The day of the week on which the scheduled audit takes place, either one of * SUN, MON, TUE, WED, * THU, FRI, or SAT.

*/ inline DescribeScheduledAuditResult& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;} /** *

The day of the week on which the scheduled audit takes place, either one of * SUN, MON, TUE, WED, * THU, FRI, or SAT.

*/ inline DescribeScheduledAuditResult& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;} /** *

Which checks are performed during the scheduled audit. Checks must be enabled * for your account. (Use DescribeAccountAuditConfiguration to see the * list of all checks, including those that are enabled or use * UpdateAccountAuditConfiguration to select which checks are * enabled.)

*/ inline const Aws::Vector& GetTargetCheckNames() const{ return m_targetCheckNames; } /** *

Which checks are performed during the scheduled audit. Checks must be enabled * for your account. (Use DescribeAccountAuditConfiguration to see the * list of all checks, including those that are enabled or use * UpdateAccountAuditConfiguration to select which checks are * enabled.)

*/ inline void SetTargetCheckNames(const Aws::Vector& value) { m_targetCheckNames = value; } /** *

Which checks are performed during the scheduled audit. Checks must be enabled * for your account. (Use DescribeAccountAuditConfiguration to see the * list of all checks, including those that are enabled or use * UpdateAccountAuditConfiguration to select which checks are * enabled.)

*/ inline void SetTargetCheckNames(Aws::Vector&& value) { m_targetCheckNames = std::move(value); } /** *

Which checks are performed during the scheduled audit. Checks must be enabled * for your account. (Use DescribeAccountAuditConfiguration to see the * list of all checks, including those that are enabled or use * UpdateAccountAuditConfiguration to select which checks are * enabled.)

*/ inline DescribeScheduledAuditResult& WithTargetCheckNames(const Aws::Vector& value) { SetTargetCheckNames(value); return *this;} /** *

Which checks are performed during the scheduled audit. Checks must be enabled * for your account. (Use DescribeAccountAuditConfiguration to see the * list of all checks, including those that are enabled or use * UpdateAccountAuditConfiguration to select which checks are * enabled.)

*/ inline DescribeScheduledAuditResult& WithTargetCheckNames(Aws::Vector&& value) { SetTargetCheckNames(std::move(value)); return *this;} /** *

Which checks are performed during the scheduled audit. Checks must be enabled * for your account. (Use DescribeAccountAuditConfiguration to see the * list of all checks, including those that are enabled or use * UpdateAccountAuditConfiguration to select which checks are * enabled.)

*/ inline DescribeScheduledAuditResult& AddTargetCheckNames(const Aws::String& value) { m_targetCheckNames.push_back(value); return *this; } /** *

Which checks are performed during the scheduled audit. Checks must be enabled * for your account. (Use DescribeAccountAuditConfiguration to see the * list of all checks, including those that are enabled or use * UpdateAccountAuditConfiguration to select which checks are * enabled.)

*/ inline DescribeScheduledAuditResult& AddTargetCheckNames(Aws::String&& value) { m_targetCheckNames.push_back(std::move(value)); return *this; } /** *

Which checks are performed during the scheduled audit. Checks must be enabled * for your account. (Use DescribeAccountAuditConfiguration to see the * list of all checks, including those that are enabled or use * UpdateAccountAuditConfiguration to select which checks are * enabled.)

*/ inline DescribeScheduledAuditResult& AddTargetCheckNames(const char* value) { m_targetCheckNames.push_back(value); return *this; } /** *

The name of the scheduled audit.

*/ inline const Aws::String& GetScheduledAuditName() const{ return m_scheduledAuditName; } /** *

The name of the scheduled audit.

*/ inline void SetScheduledAuditName(const Aws::String& value) { m_scheduledAuditName = value; } /** *

The name of the scheduled audit.

*/ inline void SetScheduledAuditName(Aws::String&& value) { m_scheduledAuditName = std::move(value); } /** *

The name of the scheduled audit.

*/ inline void SetScheduledAuditName(const char* value) { m_scheduledAuditName.assign(value); } /** *

The name of the scheduled audit.

*/ inline DescribeScheduledAuditResult& WithScheduledAuditName(const Aws::String& value) { SetScheduledAuditName(value); return *this;} /** *

The name of the scheduled audit.

*/ inline DescribeScheduledAuditResult& WithScheduledAuditName(Aws::String&& value) { SetScheduledAuditName(std::move(value)); return *this;} /** *

The name of the scheduled audit.

*/ inline DescribeScheduledAuditResult& WithScheduledAuditName(const char* value) { SetScheduledAuditName(value); return *this;} /** *

The ARN of the scheduled audit.

*/ inline const Aws::String& GetScheduledAuditArn() const{ return m_scheduledAuditArn; } /** *

The ARN of the scheduled audit.

*/ inline void SetScheduledAuditArn(const Aws::String& value) { m_scheduledAuditArn = value; } /** *

The ARN of the scheduled audit.

*/ inline void SetScheduledAuditArn(Aws::String&& value) { m_scheduledAuditArn = std::move(value); } /** *

The ARN of the scheduled audit.

*/ inline void SetScheduledAuditArn(const char* value) { m_scheduledAuditArn.assign(value); } /** *

The ARN of the scheduled audit.

*/ inline DescribeScheduledAuditResult& WithScheduledAuditArn(const Aws::String& value) { SetScheduledAuditArn(value); return *this;} /** *

The ARN of the scheduled audit.

*/ inline DescribeScheduledAuditResult& WithScheduledAuditArn(Aws::String&& value) { SetScheduledAuditArn(std::move(value)); return *this;} /** *

The ARN of the scheduled audit.

*/ inline DescribeScheduledAuditResult& WithScheduledAuditArn(const char* value) { SetScheduledAuditArn(value); return *this;} private: AuditFrequency m_frequency; Aws::String m_dayOfMonth; DayOfWeek m_dayOfWeek; Aws::Vector m_targetCheckNames; Aws::String m_scheduledAuditName; Aws::String m_scheduledAuditArn; }; } // namespace Model } // namespace IoT } // namespace Aws