/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the trust relationships for a particular Managed Microsoft AD
* directory. If no input parameters are provided, such as directory ID or trust
* ID, this request describes all the trust relationships.See Also:
* AWS
* API Reference
The Directory ID of the Amazon Web Services directory that is a part of the * requested trust relationship.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The Directory ID of the Amazon Web Services directory that is a part of the * requested trust relationship.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The Directory ID of the Amazon Web Services directory that is a part of the * requested trust relationship.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The Directory ID of the Amazon Web Services directory that is a part of the * requested trust relationship.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The Directory ID of the Amazon Web Services directory that is a part of the * requested trust relationship.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The Directory ID of the Amazon Web Services directory that is a part of the * requested trust relationship.
*/ inline DescribeTrustsRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The Directory ID of the Amazon Web Services directory that is a part of the * requested trust relationship.
*/ inline DescribeTrustsRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The Directory ID of the Amazon Web Services directory that is a part of the * requested trust relationship.
*/ inline DescribeTrustsRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
A list of identifiers of the trust relationships for which to obtain the * information. If this member is null, all trust relationships that belong to the * current account are returned.
An empty list results in an
* InvalidParameterException
being thrown.
The DescribeTrustsResult.NextToken value from a previous call to * DescribeTrusts. Pass null if this is the first call.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *The DescribeTrustsResult.NextToken value from a previous call to * DescribeTrusts. Pass null if this is the first call.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *The DescribeTrustsResult.NextToken value from a previous call to * DescribeTrusts. Pass null if this is the first call.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *The DescribeTrustsResult.NextToken value from a previous call to * DescribeTrusts. Pass null if this is the first call.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *The DescribeTrustsResult.NextToken value from a previous call to * DescribeTrusts. Pass null if this is the first call.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *The DescribeTrustsResult.NextToken value from a previous call to * DescribeTrusts. Pass null if this is the first call.
*/ inline DescribeTrustsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The DescribeTrustsResult.NextToken value from a previous call to * DescribeTrusts. Pass null if this is the first call.
*/ inline DescribeTrustsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The DescribeTrustsResult.NextToken value from a previous call to * DescribeTrusts. Pass null if this is the first call.
*/ inline DescribeTrustsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The maximum number of objects to return.
*/ inline int GetLimit() const{ return m_limit; } /** *The maximum number of objects to return.
*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *The maximum number of objects to return.
*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *The maximum number of objects to return.
*/ inline DescribeTrustsRequest& WithLimit(int value) { SetLimit(value); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::Vector